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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 180.9 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.000947, allocations: 104.2 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.776e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.46, allocations: 417.7 MB / 1.614 GB, free: 5.039 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/1.46, allocations: 71.2 kB / 1.614 GB, free: 5.004 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.04003/1.5, allocations: 18.96 MB / 1.633 GB, free: 5.797 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.164e-06/1.5, allocations: 3.938 kB / 1.633 GB, free: 5.793 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.5, allocations: 0 / 1.633 GB, free: 5.793 MB / 1.042 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.0004742/1.501, allocations: 367.4 kB / 1.633 GB, free: 5.398 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.501, allocations: 8.031 kB / 1.633 GB, free: 5.391 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/1.501, allocations: 11.91 kB / 1.633 GB, free: 5.379 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/1.501, allocations: 163 kB / 1.633 GB, free: 5.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/1.501, allocations: 0 / 1.633 GB, free: 5.18 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.501, allocations: 4 kB / 1.633 GB, free: 5.176 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.859e-05/1.501, allocations: 23.48 kB / 1.633 GB, free: 5.156 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/1.501, allocations: 49.36 kB / 1.633 GB, free: 5.105 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.501, allocations: 0 / 1.633 GB, free: 5.105 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.501, allocations: 0 / 1.633 GB, free: 5.105 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.501, allocations: 0 / 1.633 GB, free: 5.105 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/1.501, allocations: 141.8 kB / 1.633 GB, free: 4.934 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/1.502, allocations: 45.62 kB / 1.633 GB, free: 4.887 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/1.502, allocations: 12.86 kB / 1.633 GB, free: 4.871 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/1.502, allocations: 0.6284 MB / 1.634 GB, free: 4.148 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.502, allocations: 38.55 kB / 1.634 GB, free: 4.102 MB / 1.042 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/1.502, allocations: 0 / 1.634 GB, free: 4.102 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0005103/1.503, allocations: 273.3 kB / 1.634 GB, free: 3.793 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/1.503, allocations: 51.41 kB / 1.634 GB, free: 3.73 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/1.503, allocations: 92.69 kB / 1.634 GB, free: 3.637 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.503, allocations: 25.7 kB / 1.634 GB, free: 3.605 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/1.503, allocations: 88.05 kB / 1.635 GB, free: 3.516 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/1.503, allocations: 31.23 kB / 1.635 GB, free: 3.488 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.503, allocations: 0 / 1.635 GB, free: 3.488 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.503, allocations: 318.5 kB / 1.635 GB, free: 3.172 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/1.503, allocations: 11.56 kB / 1.635 GB, free: 3.164 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/1.503, allocations: 48.83 kB / 1.635 GB, free: 3.102 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/1.503, allocations: 27.11 kB / 1.635 GB, free: 3.082 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.503, allocations: 0 / 1.635 GB, free: 3.082 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001157/1.503, allocations: 73.31 kB / 1.635 GB, free: 3.008 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.503, allocations: 4 kB / 1.635 GB, free: 3.004 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.504, allocations: 3.984 kB / 1.635 GB, free: 3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.504, allocations: 4 kB / 1.635 GB, free: 2.996 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/1.504, allocations: 27.62 kB / 1.635 GB, free: 2.973 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.504, allocations: 7.953 kB / 1.635 GB, free: 2.965 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/1.504, allocations: 0 / 1.635 GB, free: 2.965 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.504, allocations: 8.219 kB / 1.635 GB, free: 2.957 MB / 1.042 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 () * 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.863e-05/1.504, allocations: 101 kB / 1.635 GB, free: 2.852 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.716e-05/1.504, allocations: 57.31 kB / 1.635 GB, free: 2.793 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/1.504, allocations: 3.906 kB / 1.635 GB, free: 2.789 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/1.504, allocations: 19.88 kB / 1.635 GB, free: 2.777 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.504, allocations: 3.953 kB / 1.635 GB, free: 2.773 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.504, allocations: 4 kB / 1.635 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.504, allocations: 0 / 1.635 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/1.504, allocations: 154 kB / 1.635 GB, free: 2.586 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.504, allocations: 0 / 1.635 GB, free: 2.586 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/1.504, allocations: 12 kB / 1.635 GB, free: 2.574 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.504, allocations: 0 / 1.635 GB, free: 2.574 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.504, allocations: 0 / 1.635 GB, free: 2.574 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.504, allocations: 4 kB / 1.635 GB, free: 2.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.504, allocations: 0 / 1.635 GB, free: 2.57 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.504, allocations: 169.9 kB / 1.636 GB, free: 2.398 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/1.505, allocations: 85.02 kB / 1.636 GB, free: 2.297 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.505, allocations: 256 / 1.636 GB, free: 2.297 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.505, allocations: 12.03 kB / 1.636 GB, free: 2.285 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/1.505, allocations: 0 / 1.636 GB, free: 2.285 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/1.505, allocations: 7.938 kB / 1.636 GB, free: 2.277 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.496e-05/1.505, allocations: 82.8 kB / 1.636 GB, free: 2.199 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.505, allocations: 0 / 1.636 GB, free: 2.199 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000243/1.505, allocations: 12 kB / 1.636 GB, free: 2.188 MB / 1.042 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 () * 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.0004501/1.505, allocations: 0.7537 MB / 1.636 GB, free: 1.418 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 9.265e-05/1.506, allocations: 39.61 kB / 1.637 GB, free: 1.383 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.506, allocations: 0 / 1.637 GB, free: 1.383 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/1.506, allocations: 15.56 kB / 1.637 GB, free: 1.371 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/1.506, allocations: 1.203 kB / 1.637 GB, free: 1.371 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/1.506, allocations: 302.1 kB / 1.637 GB, free: 1.043 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/1.507, allocations: 0.6924 MB / 1.638 GB, free: 332 kB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.983e-05/1.507, allocations: 11.78 kB / 1.638 GB, free: 320 kB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/1.507, allocations: 15 kB / 1.638 GB, free: 308 kB / 1.042 GB Notification: Performance of SimCode: time 2.61e-07/1.507, allocations: 0 / 1.638 GB, free: 308 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/1.525, allocations: 1.492 MB / 1.639 GB, free: 14.82 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.525, allocations: 153 kB / 1.639 GB, free: 14.62 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/3.007, allocations: 0 / 1.639 GB, free: 14.62 MB / 1.057 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