Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.0009436/0.0009436, 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.001198/0.001198, 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.414 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.487/2.487, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8406, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001297/0.842, allocations: 0.9766 MB / 0.9548 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.8454, allocations: 2.736 MB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.8454, allocations: 0 / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.8455, allocations: 3.984 kB / 0.9575 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.8455, allocations: 4.984 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.8459, allocations: 78.73 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.846, allocations: 34.45 kB / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.846, allocations: 14.09 kB / 0.9576 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.8465, allocations: 142.4 kB / 0.9577 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.8465, allocations: 18.47 kB / 0.9577 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.8465, allocations: 2.406 kB / 0.9578 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.8467, allocations: 37.3 kB / 0.9578 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.8467, allocations: 10.17 kB / 0.9578 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.8467, allocations: 33.61 kB / 0.9578 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.8469, allocations: 34.27 kB / 0.9579 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.8469, allocations: 5.281 kB / 0.9579 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8469, allocations: 4 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8469, allocations: 0 / 0.9579 GB, free: 4.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003464/0.8472, allocations: 330.8 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8473, allocations: 9.531 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.8473, allocations: 39.89 kB / 0.9582 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.8474, allocations: 2.375 kB / 0.9582 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.8475, allocations: 164.3 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.8475, allocations: 1.156 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.8475, allocations: 12.41 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.8477, allocations: 49.61 kB / 0.9585 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8477, allocations: 0 / 0.9585 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.8477, allocations: 8.922 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8477, allocations: 0.9375 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.8478, allocations: 15.98 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.8479, allocations: 170.7 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.848, allocations: 52.3 kB / 0.9587 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.848, allocations: 24.5 kB / 0.9587 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.8487, allocations: 0.5986 MB / 0.9593 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.8487, allocations: 35.84 kB / 0.9593 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.8487, allocations: 1.375 kB / 0.9593 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005602/0.8493, allocations: 297.4 kB / 0.9596 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8493, allocations: 56.78 kB / 0.9597 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.8494, allocations: 102.2 kB / 0.9598 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.8494, allocations: 31.27 kB / 0.9598 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.8495, allocations: 84.08 kB / 0.9599 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.8495, allocations: 30.45 kB / 0.9599 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.8495, allocations: 1.469 kB / 0.9599 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.8496, allocations: 320.1 kB / 0.9602 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.8496, allocations: 15.36 kB / 0.9602 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.8497, allocations: 53.09 kB / 0.9603 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.8497, allocations: 23.61 kB / 0.9603 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8497, allocations: 7.938 kB / 0.9603 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001858/0.8499, allocations: 89.05 kB / 0.9604 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.85, allocations: 6.188 kB / 0.9604 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.85, allocations: 1.469 kB / 0.9604 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.85, allocations: 1.531 kB / 0.9604 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.8501, allocations: 25.42 kB / 0.9604 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8501, allocations: 2.688 kB / 0.9604 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.8502, allocations: 5.531 kB / 0.9604 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8502, allocations: 8.312 kB / 0.9604 GB, free: 2.078 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.672e-05/0.8503, allocations: 120.8 kB / 0.9606 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.8503, allocations: 6.938 kB / 0.9606 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.8503, allocations: 7.969 kB / 0.9606 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8503, allocations: 5.344 kB / 0.9606 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8504, allocations: 0 / 0.9606 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8504, allocations: 1.312 kB / 0.9606 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.8506, allocations: 176.8 kB / 0.9607 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8506, allocations: 3.953 kB / 0.9608 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.8507, allocations: 18.17 kB / 0.9608 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8507, allocations: 4 kB / 0.9608 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8507, allocations: 1.5 kB / 0.9608 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8507, allocations: 3.938 kB / 0.9608 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8507, allocations: 0 / 0.9608 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.8509, allocations: 169.7 kB / 0.9609 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.8509, allocations: 86.5 kB / 0.961 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8509, allocations: 5.312 kB / 0.961 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.851, allocations: 15.44 kB / 0.961 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.8511, allocations: 1.781 kB / 0.961 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.8511, allocations: 1.781 kB / 0.961 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.8511, allocations: 81.58 kB / 0.9611 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8511, allocations: 0 / 0.9611 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002413/0.8514, allocations: 14.91 kB / 0.9611 GB, free: 1.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003396/0.8517, allocations: 0.7159 MB / 0.9618 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.8518, allocations: 41.67 kB / 0.9619 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8518, allocations: 1.375 kB / 0.9619 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.8519, allocations: 15 kB / 0.9619 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8522, allocations: 10.69 kB / 0.9619 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.8531, allocations: 0.6802 MB / 0.9626 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.8534, allocations: 0.6852 MB / 0.9632 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.284e-05/0.8535, allocations: 11.89 kB / 0.9632 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.8535, allocations: 15.62 kB / 0.9633 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.8535, allocations: 0 / 0.9633 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.8657, allocations: 1.433 MB / 0.9647 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.8659, allocations: 193 kB / 0.9648 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.606, allocations: 1.219 kB / 0.9648 GB, free: 14.39 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat