Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.609/2.609, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8232, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04143/0.8647, allocations: 45.35 MB / 1.025 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.8845, allocations: 12.97 MB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.8871, allocations: 59.62 kB / 1.038 GB, free: 11.74 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.8891, allocations: 0.5704 MB / 1.039 GB, free: 11.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.895, allocations: 1.784 MB / 1.04 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.8981, allocations: 0.9499 MB / 1.041 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0213/0.9194, allocations: 21.73 MB / 1.063 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009562/0.929, allocations: 6.527 MB / 1.069 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/0.9398, allocations: 4.774 MB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.9499, allocations: 4.928 MB / 1.078 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.9516, allocations: 304 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/0.9572, allocations: 0.7372 MB / 1.079 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.959, allocations: 1.362 MB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005344/0.9644, allocations: 1.479 MB / 1.082 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.9811, allocations: 9.458 MB / 1.091 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.9812, allocations: 0 / 1.091 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9812, allocations: 4 kB / 1.091 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004645/0.9817, allocations: 0 / 1.091 GB, free: 4.91 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01555/0.9972, allocations: 6.293 MB / 1.098 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9973, allocations: 12.03 kB / 1.098 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003023/1, allocations: 0.764 MB / 1.098 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/1.004, allocations: 0.7882 MB / 1.099 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/1.017, allocations: 6.101 MB / 1.105 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/1.017, allocations: 411.1 kB / 1.105 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/1.019, allocations: 0.5428 MB / 1.106 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.038, allocations: 8.037 MB / 1.114 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.038, allocations: 11.94 kB / 1.114 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007665/1.039, allocations: 235.9 kB / 1.114 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/1.039, allocations: 164 kB / 1.114 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/1.053, allocations: 6.485 MB / 1.121 GB, free: 6.684 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/1.101, allocations: 31.16 MB / 1.151 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/1.108, allocations: 3.627 MB / 1.155 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/1.114, allocations: 2.878 MB / 1.157 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.115, allocations: 0.8437 MB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/1.115, allocations: 72.61 kB / 1.158 GB, free: 14.08 MB / 0.92 GB Notification: Performance of pre-optimization done (n=267): time 6.271e-06/1.115, allocations: 3.938 kB / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=267): time 0.01419/1.129, allocations: 5.735 MB / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/1.129, allocations: 81.52 kB / 1.164 GB, free: 8.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.141, allocations: 4.989 MB / 1.169 GB, free: 3.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007524/1.142, allocations: 81.64 kB / 1.169 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003802/1.146, allocations: 2.872 MB / 1.172 GB, free: 172 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/1.148, allocations: 0.9359 MB / 1.173 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000568/1.148, allocations: 79.94 kB / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000439/1.149, allocations: 461.9 kB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/1.152, allocations: 1.662 MB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/1.157, allocations: 2.916 MB / 1.178 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/1.161, allocations: 2.273 MB / 1.18 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-05/1.162, allocations: 12 kB / 1.18 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01203/1.174, allocations: 5.406 MB / 1.185 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/1.174, allocations: 27.94 kB / 1.185 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.754e-05/1.174, allocations: 40 kB / 1.185 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.175, allocations: 424.1 kB / 1.186 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/1.178, allocations: 0.858 MB / 1.186 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/1.185, allocations: 5.266 MB / 1.192 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.19, allocations: 0.6471 MB / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008539/1.191, allocations: 172 kB / 1.192 GB, free: 10.1 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005723/1.197, allocations: 2.292 MB / 1.195 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002084/1.199, allocations: 482.2 kB / 1.195 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009957/1.209, allocations: 4.171 MB / 1.199 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/1.209, allocations: 31.98 kB / 1.199 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/1.209, allocations: 4 kB / 1.199 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006688/1.216, allocations: 3.612 MB / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.24, allocations: 10.2 MB / 1.213 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.24, allocations: 4 kB / 1.213 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.243, allocations: 0.5037 MB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009911/1.244, allocations: 379.7 kB / 1.214 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000427/1.244, allocations: 75.97 kB / 1.214 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006053/1.25, allocations: 5.192 MB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.25, allocations: 16 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.263, allocations: 6.212 MB / 1.225 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004489/1.267, allocations: 1.17 MB / 1.226 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/1.269, allocations: 63.98 kB / 1.226 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004976/1.274, allocations: 322.7 kB / 1.226 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/1.274, allocations: 177.7 kB / 1.226 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005861/1.275, allocations: 127.9 kB / 1.227 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.009543/1.285, allocations: 3.64 MB / 1.23 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.51e-07/1.285, allocations: 0 / 1.23 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008075/1.293, allocations: 1.785 MB / 1.232 GB, free: 0.8398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.307, allocations: 7.13 MB / 1.239 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.317, allocations: 4.239 MB / 1.243 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/1.317, allocations: 4 kB / 1.243 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.321, allocations: 2.028 MB / 1.245 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6392/1.96, allocations: 3.273 MB / 1.248 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/2.099, allocations: 45.98 MB / 1.293 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007741/2.107, allocations: 4.299 MB / 1.297 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006989/2.114, allocations: 1.844 MB / 1.299 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004928/2.119, allocations: 2.441 MB / 1.301 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/2.119, allocations: 0 / 1.301 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/2.34, allocations: 159.9 MB / 1.458 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/2.34, allocations: 274.2 kB / 1.458 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.579/7.92, allocations: 2.969 kB / 1.458 GB, free: 17.76 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat