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.001151/0.001151, allocations: 100 kB / 15.05 MB, free: 1.105 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.001326/0.001326, allocations: 177.3 kB / 15.94 MB, free: 228 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.564/2.564, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8629, allocations: 142.3 MB / 0.9536 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04132/0.9043, allocations: 41.21 MB / 0.9938 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.9213, allocations: 11.97 MB / 1.006 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/0.9238, allocations: 59.62 kB / 1.006 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.9267, allocations: 0.7423 MB / 1.006 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.9338, allocations: 1.986 MB / 1.008 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005557/0.9393, allocations: 1.435 MB / 1.01 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.9532, allocations: 10.55 MB / 1.02 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009336/0.9626, allocations: 6.532 MB / 1.026 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008776/0.9714, allocations: 3.998 MB / 1.03 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007258/0.9787, allocations: 3.431 MB / 1.034 GB, free: 14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.9803, allocations: 304 kB / 1.034 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/0.9849, allocations: 0.7921 MB / 1.035 GB, free: 12.92 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.9869, allocations: 1.312 MB / 1.036 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003323/0.9903, allocations: 1.475 MB / 1.037 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.002, allocations: 9.418 MB / 1.047 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.002, allocations: 0 / 1.047 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.474e-06/1.002, allocations: 0 / 1.047 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003977/1.002, allocations: 4 kB / 1.047 GB, free: 0.6719 MB / 0.795 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.01518/1.017, allocations: 6.284 MB / 1.053 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.018, allocations: 12.03 kB / 1.053 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002744/1.02, allocations: 0.76 MB / 1.053 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/1.024, allocations: 0.7921 MB / 1.054 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/1.037, allocations: 5.662 MB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/1.038, allocations: 415 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/1.039, allocations: 0.5351 MB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/1.061, allocations: 7.986 MB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/1.061, allocations: 23.84 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006682/1.062, allocations: 236 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/1.062, allocations: 163.9 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/1.076, allocations: 6.489 MB / 1.075 GB, free: 2.926 MB / 0.8262 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.05472/1.13, allocations: 31.4 MB / 1.106 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006426/1.137, allocations: 3.636 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.138, allocations: 0.8358 MB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.373e-05/1.138, allocations: 72.67 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=267): time 5.931e-06/1.138, allocations: 0 / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=267): time 0.01238/1.15, allocations: 5.786 MB / 1.116 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.15, allocations: 81.52 kB / 1.116 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/1.162, allocations: 5.407 MB / 1.121 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0008522/1.163, allocations: 77.7 kB / 1.121 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/1.166, allocations: 2.872 MB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.168, allocations: 0.9398 MB / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/1.168, allocations: 75.94 kB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003832/1.169, allocations: 457.9 kB / 1.126 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/1.172, allocations: 1.678 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.176, allocations: 2.928 MB / 1.13 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/1.18, allocations: 2.285 MB / 1.132 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.084e-05/1.18, allocations: 16 kB / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01038/1.191, allocations: 5.453 MB / 1.138 GB, free: 124 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/1.191, allocations: 21.41 kB / 1.138 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-05/1.191, allocations: 40 kB / 1.138 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.192, allocations: 427.7 kB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.195, allocations: 0.8502 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/1.201, allocations: 5.351 MB / 1.144 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.207, allocations: 0.6781 MB / 1.145 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008701/1.208, allocations: 180 kB / 1.145 GB, free: 8.312 MB / 0.9044 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.005238/1.213, allocations: 2.284 MB / 1.147 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/1.215, allocations: 486.1 kB / 1.148 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008339/1.223, allocations: 4.208 MB / 1.152 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/1.223, allocations: 28 kB / 1.152 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/1.223, allocations: 11.94 kB / 1.152 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00567/1.229, allocations: 3.651 MB / 1.155 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02428/1.253, allocations: 10.13 MB / 1.165 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.253, allocations: 4 kB / 1.165 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.256, allocations: 0.4998 MB / 1.166 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/1.257, allocations: 376.1 kB / 1.166 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004212/1.257, allocations: 79.91 kB / 1.166 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005955/1.263, allocations: 5.258 MB / 1.171 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.263, allocations: 12.03 kB / 1.171 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.275, allocations: 6.919 MB / 1.178 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004223/1.28, allocations: 1.252 MB / 1.179 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.281, allocations: 59.98 kB / 1.179 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004439/1.286, allocations: 354 kB / 1.18 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/1.286, allocations: 173.7 kB / 1.18 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004786/1.287, allocations: 131.9 kB / 1.18 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007952/1.295, allocations: 3.972 MB / 1.184 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.01e-07/1.295, allocations: 0 / 1.184 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007486/1.302, allocations: 1.804 MB / 1.186 GB, free: 13.71 MB / 0.9512 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.0131/1.315, allocations: 8.672 MB / 1.194 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007349/1.323, allocations: 4.282 MB / 1.198 GB, free: 488 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.323, allocations: 4 kB / 1.198 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/1.326, allocations: 2.055 MB / 1.2 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/1.343, allocations: 3.228 MB / 1.204 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7242/2.067, allocations: 73.37 MB / 1.275 GB, free: 272 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00722/2.074, allocations: 4.411 MB / 1.28 GB, free: 270.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.008747/2.083, allocations: 1.889 MB / 1.281 GB, free: 270 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005591/2.088, allocations: 2.447 MB / 1.284 GB, free: 267.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.435e-06/2.089, allocations: 0 / 1.284 GB, free: 267.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/2.303, allocations: 161.3 MB / 1.441 GB, free: 119.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.303, allocations: 261.7 kB / 1.442 GB, free: 119 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.158/7.461, allocations: 0 / 1.442 GB, free: 119 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