Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_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.001001/0.001001, allocations: 86.72 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.001166/0.001166, 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.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003687, allocations: 11.98 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7476, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04357/0.7913, allocations: 45.35 MB / 0.9981 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.8089, allocations: 12.96 MB / 1.011 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.8117, allocations: 59.62 kB / 1.011 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.8138, allocations: 0.5666 MB / 1.011 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005695/0.8195, allocations: 1.787 MB / 1.013 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.8224, allocations: 0.9352 MB / 1.014 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02027/0.8427, allocations: 21.74 MB / 1.035 GB, free: 12.53 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009419/0.8521, allocations: 6.531 MB / 1.042 GB, free: 5.922 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/0.8647, allocations: 4.767 MB / 1.046 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.8766, allocations: 4.94 MB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.8787, allocations: 300 kB / 1.051 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.8842, allocations: 0.7372 MB / 1.052 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002651/0.8869, allocations: 1.362 MB / 1.053 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/0.8905, allocations: 1.479 MB / 1.055 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.9021, allocations: 9.465 MB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9021, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9021, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003937/0.9025, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 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.0138/0.9163, allocations: 6.295 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.9164, allocations: 8.031 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002653/0.9191, allocations: 0.7601 MB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.9225, allocations: 0.7921 MB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.9337, allocations: 6.09 MB / 1.078 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.9341, allocations: 415 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.936, allocations: 0.5428 MB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.955, allocations: 8.033 MB / 1.087 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.9552, allocations: 15.84 kB / 1.087 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007844/0.956, allocations: 236 kB / 1.087 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.9561, allocations: 171.9 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.9693, allocations: 6.485 MB / 1.093 GB, free: 0.5703 MB / 0.8419 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.0458/1.015, allocations: 31.16 MB / 1.124 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/1.021, allocations: 3.636 MB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/1.025, allocations: 2.874 MB / 1.13 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009441/1.026, allocations: 0.8358 MB / 1.131 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/1.026, allocations: 72.67 kB / 1.131 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=267): time 4.388e-06/1.026, allocations: 0 / 1.131 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=267): time 0.01059/1.037, allocations: 5.743 MB / 1.137 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.037, allocations: 81.5 kB / 1.137 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/1.044, allocations: 4.989 MB / 1.142 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006762/1.045, allocations: 81.7 kB / 1.142 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.048, allocations: 2.86 MB / 1.144 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.049, allocations: 0.9398 MB / 1.145 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.049, allocations: 76 kB / 1.145 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.05, allocations: 465.9 kB / 1.146 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/1.052, allocations: 1.662 MB / 1.147 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.056, allocations: 2.916 MB / 1.15 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/1.059, allocations: 2.273 MB / 1.153 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/1.059, allocations: 12 kB / 1.153 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009086/1.068, allocations: 5.406 MB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.068, allocations: 23.95 kB / 1.158 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/1.068, allocations: 40 kB / 1.158 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000957/1.069, allocations: 425.8 kB / 1.158 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.072, allocations: 0.8541 MB / 1.159 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/1.078, allocations: 5.267 MB / 1.164 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.084, allocations: 0.6473 MB / 1.165 GB, free: 4.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006254/1.085, allocations: 180 kB / 1.165 GB, free: 3.98 MB / 0.92 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.004572/1.089, allocations: 2.284 MB / 1.167 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.091, allocations: 494.1 kB / 1.168 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006949/1.098, allocations: 4.167 MB / 1.172 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.098, allocations: 24 kB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.098, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004873/1.103, allocations: 3.612 MB / 1.175 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.122, allocations: 10.2 MB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.122, allocations: 4 kB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/1.124, allocations: 0.5037 MB / 1.186 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000806/1.125, allocations: 373.3 kB / 1.186 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/1.125, allocations: 79.95 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/1.13, allocations: 5.204 MB / 1.191 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.13, allocations: 7.938 kB / 1.191 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0094/1.139, allocations: 6.208 MB / 1.197 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.143, allocations: 1.162 MB / 1.199 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.144, allocations: 67.94 kB / 1.199 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/1.147, allocations: 329.3 kB / 1.199 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/1.147, allocations: 173.7 kB / 1.199 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.148, allocations: 135.8 kB / 1.199 GB, free: 152 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.006134/1.154, allocations: 3.648 MB / 1.203 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/1.154, allocations: 0 / 1.203 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006417/1.16, allocations: 1.773 MB / 1.205 GB, free: 10.73 MB / 0.9669 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.01078/1.171, allocations: 7.158 MB / 1.212 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006789/1.178, allocations: 4.231 MB / 1.216 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.178, allocations: 7.938 kB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002985/1.181, allocations: 2.031 MB / 1.218 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/1.196, allocations: 3.274 MB / 1.221 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6586/1.855, allocations: 45.98 MB / 1.266 GB, free: 273.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005709/1.86, allocations: 4.307 MB / 1.27 GB, free: 272.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006719/1.867, allocations: 1.842 MB / 1.272 GB, free: 272.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003802/1.871, allocations: 2.441 MB / 1.274 GB, free: 270.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.413e-06/1.871, allocations: 0 / 1.274 GB, free: 270.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/2.078, allocations: 160 MB / 1.43 GB, free: 130.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/2.078, allocations: 260.7 kB / 1.431 GB, free: 130.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.409/7.487, allocations: 0 / 1.431 GB, free: 130.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat