Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.0009315/0.0009315, allocations: 99.86 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.0009959/0.000996, allocations: 177.3 kB / 15.95 MB, free: 216 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.306/2.306, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6656, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001205/0.6669, allocations: 1.067 MB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.6697, allocations: 2.578 MB / 0.9571 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.6697, allocations: 0 / 0.9571 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.536e-05/0.6698, allocations: 3.984 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.6699, allocations: 23.19 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.6703, allocations: 159.4 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.6705, allocations: 154.6 kB / 0.9575 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.6705, allocations: 11.59 kB / 0.9575 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.6706, allocations: 76.53 kB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.6707, allocations: 106.5 kB / 0.9577 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.6707, allocations: 10.91 kB / 0.9577 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.6711, allocations: 153.3 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.6712, allocations: 81.5 kB / 0.9579 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.6713, allocations: 56.58 kB / 0.9579 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.6715, allocations: 189.9 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.6715, allocations: 0 / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6715, allocations: 0 / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6715, allocations: 0 / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007202/0.6723, allocations: 0.5244 MB / 0.9586 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6723, allocations: 13.94 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.6724, allocations: 52.72 kB / 0.9587 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.6725, allocations: 20.95 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.6727, allocations: 235.7 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.6728, allocations: 23.52 kB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.6728, allocations: 21.67 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.6734, allocations: 313.7 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6734, allocations: 0 / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.6735, allocations: 9.734 kB / 0.9593 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6735, allocations: 3.562 kB / 0.9593 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.6749, allocations: 0.8037 MB / 0.9601 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.6752, allocations: 309.7 kB / 0.9604 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.677, allocations: 0.7827 MB / 0.9611 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.6773, allocations: 385.8 kB / 0.9615 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.6773, allocations: 36.72 kB / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.6773, allocations: 0 / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001611/0.6789, allocations: 0.7353 MB / 0.9623 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.679, allocations: 58.95 kB / 0.9623 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.679, allocations: 127.8 kB / 0.9624 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6791, allocations: 33.64 kB / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.6791, allocations: 92.8 kB / 0.9626 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.6792, allocations: 128.2 kB / 0.9627 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.6792, allocations: 6.969 kB / 0.9627 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.6793, allocations: 326.7 kB / 0.963 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.6797, allocations: 220.6 kB / 0.9632 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.6802, allocations: 226.5 kB / 0.9634 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.6807, allocations: 206.6 kB / 0.9636 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6807, allocations: 3.938 kB / 0.9636 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00107/0.6818, allocations: 0.5064 MB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6818, allocations: 4.906 kB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6818, allocations: 1 kB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6818, allocations: 1.031 kB / 0.9641 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.6822, allocations: 113.7 kB / 0.9642 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6822, allocations: 5.422 kB / 0.9642 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.6824, allocations: 63.19 kB / 0.9643 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.6825, allocations: 12.27 kB / 0.9643 GB, free: 0.7148 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.6826, allocations: 143.6 kB / 0.9645 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.6826, allocations: 17.22 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.6838, allocations: 0.591 MB / 0.9651 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.6838, allocations: 7.906 kB / 0.9651 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6838, allocations: 1.094 kB / 0.9651 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6838, allocations: 3.953 kB / 0.9651 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.6841, allocations: 309.6 kB / 0.9654 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6841, allocations: 5.047 kB / 0.9654 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.6845, allocations: 108.3 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6845, allocations: 2.094 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.6846, allocations: 15.86 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6846, allocations: 5.125 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6846, allocations: 0.9375 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6858, allocations: 0.5429 MB / 0.966 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.6859, allocations: 94.95 kB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.6859, allocations: 6.312 kB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.6861, allocations: 56.27 kB / 0.9662 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.6863, allocations: 122.8 kB / 0.9663 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6864, allocations: 9.531 kB / 0.9663 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.6864, allocations: 103.4 kB / 0.9664 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6865, allocations: 0 / 0.9664 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004001/0.6869, allocations: 109.3 kB / 0.9665 GB, free: 15.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001736/0.6886, allocations: 1.178 MB / 0.9676 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.6898, allocations: 0.5118 MB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6898, allocations: 4 kB / 0.9682 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.6904, allocations: 290.6 kB / 0.9684 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.6908, allocations: 67.81 kB / 0.9685 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.6937, allocations: 1.6 MB / 0.9701 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.694, allocations: 0.7393 MB / 0.9708 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004267/0.6945, allocations: 182.1 kB / 0.971 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6946, allocations: 63.28 kB / 0.971 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.6946, allocations: 0 / 0.971 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/0.7581, allocations: 6.621 MB / 0.9775 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.7584, allocations: 188.3 kB / 0.9777 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.715, allocations: 7.938 kB / 0.9777 GB, free: 7.133 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat