Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001184/0.001184, allocations: 187.8 kB / 0.4901 GB, free: 2.27 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.659/1.659, allocations: 223.1 MB / 0.7992 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 101.1 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004694, allocations: 10.39 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3464, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.655, allocations: 419.3 MB / 1.639 GB, free: 6.742 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.656, allocations: 69.09 kB / 1.639 GB, free: 6.707 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.04697/1.703, allocations: 19.11 MB / 1.657 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.833e-06/1.703, allocations: 4 kB / 1.657 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.703, allocations: 0 / 1.657 GB, free: 7.082 MB / 0.9948 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.0004847/1.703, allocations: 370.8 kB / 1.658 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.703, allocations: 8.562 kB / 1.658 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/1.703, allocations: 38.56 kB / 1.658 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.703, allocations: 8.641 kB / 1.658 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.703, allocations: 163.1 kB / 1.658 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/1.703, allocations: 3.875 kB / 1.658 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/1.703, allocations: 7.984 kB / 1.658 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/1.704, allocations: 61.09 kB / 1.658 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.704, allocations: 0 / 1.658 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.704, allocations: 0 / 1.658 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.704, allocations: 0 / 1.658 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/1.704, allocations: 23.86 kB / 1.658 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/1.704, allocations: 161.4 kB / 1.658 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.704, allocations: 57.86 kB / 1.658 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/1.705, allocations: 0.5943 MB / 1.659 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.705, allocations: 46.44 kB / 1.659 GB, free: 5.332 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/1.705, allocations: 0 / 1.659 GB, free: 5.332 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.000675/1.706, allocations: 301 kB / 1.659 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/1.706, allocations: 51.41 kB / 1.659 GB, free: 4.945 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/1.706, allocations: 92.88 kB / 1.659 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/1.706, allocations: 25.7 kB / 1.659 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/1.706, allocations: 88.05 kB / 1.659 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/1.706, allocations: 31.42 kB / 1.659 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.706, allocations: 7.688 kB / 1.659 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.706, allocations: 310.8 kB / 1.66 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/1.706, allocations: 15.86 kB / 1.66 GB, free: 4.375 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/1.706, allocations: 60.77 kB / 1.66 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/1.706, allocations: 16.06 kB / 1.66 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.706, allocations: 4 kB / 1.66 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001528/1.706, allocations: 96.97 kB / 1.66 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.706, allocations: 4 kB / 1.66 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/1.706, allocations: 3.953 kB / 1.66 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.706, allocations: 4 kB / 1.66 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/1.707, allocations: 20.11 kB / 1.66 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.707, allocations: 11.94 kB / 1.66 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/1.707, allocations: 3.938 kB / 1.66 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/1.707, allocations: 4 kB / 1.66 GB, free: 4.156 MB / 0.9948 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 0.0001109/1.707, allocations: 113.7 kB / 1.66 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/1.707, allocations: 4 kB / 1.66 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/1.707, allocations: 7.719 kB / 1.66 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.707, allocations: 3.953 kB / 1.66 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.707, allocations: 0 / 1.66 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.707, allocations: 7.984 kB / 1.66 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/1.707, allocations: 169.7 kB / 1.66 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.707, allocations: 0 / 1.66 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/1.707, allocations: 31.55 kB / 1.66 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.707, allocations: 0 / 1.66 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.707, allocations: 0 / 1.66 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.707, allocations: 0 / 1.66 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.707, allocations: 3.953 kB / 1.66 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/1.708, allocations: 166.5 kB / 1.661 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/1.708, allocations: 85.55 kB / 1.661 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/1.708, allocations: 7.906 kB / 1.661 GB, free: 3.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.708, allocations: 4 kB / 1.661 GB, free: 3.504 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/1.708, allocations: 7.953 kB / 1.661 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/1.708, allocations: 4 kB / 1.661 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.503e-05/1.708, allocations: 91.14 kB / 1.661 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.2e-07/1.708, allocations: 0 / 1.661 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002771/1.708, allocations: 15.94 kB / 1.661 GB, free: 3.395 MB / 0.9948 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.0007537/1.709, allocations: 0.7565 MB / 1.661 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001467/1.709, allocations: 43.59 kB / 1.662 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.709, allocations: 4.062 kB / 1.662 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/1.709, allocations: 15.94 kB / 1.662 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/1.709, allocations: 7.938 kB / 1.662 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.711, allocations: 1.43 MB / 1.663 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/1.711, allocations: 0.6926 MB / 1.664 GB, free: 388 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.666e-05/1.711, allocations: 7.859 kB / 1.664 GB, free: 380 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/1.711, allocations: 11.44 kB / 1.664 GB, free: 368 kB / 0.9948 GB Notification: Performance of SimCode: time 4.81e-07/1.711, allocations: 3.938 kB / 1.664 GB, free: 364 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/1.725, allocations: 2.211 MB / 1.666 GB, free: 14.3 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/1.726, allocations: 193 kB / 1.666 GB, free: 14.06 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/3.532, allocations: 1.5 kB / 1.666 GB, free: 14.06 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat