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.258/2.258, allocations: 387.1 MB / 399.7 MB, free: 9.402 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.001093/0.001093, allocations: 170.6 kB / 492.3 MB, free: 0.5898 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.45/1.45, allocations: 221.3 MB / 0.7871 GB, free: 12.83 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.0009083/0.0009081, allocations: 87.94 kB / 0.9267 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.285e-05, allocations: 0 / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 142.3 MB / 1.212 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.263, allocations: 418.4 MB / 1.621 GB, free: 12.56 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.263, allocations: 68.44 kB / 1.621 GB, free: 12.53 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0428/1.306, allocations: 19.06 MB / 1.64 GB, free: 12.93 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.663e-06/1.306, allocations: 0 / 1.64 GB, free: 12.93 MB / 1.057 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.306, allocations: 4 kB / 1.64 GB, free: 12.92 MB / 1.057 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.0003931/1.306, allocations: 362.5 kB / 1.64 GB, free: 12.53 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.306, allocations: 12.03 kB / 1.64 GB, free: 12.52 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/1.306, allocations: 34.5 kB / 1.64 GB, free: 12.48 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/1.306, allocations: 7.906 kB / 1.64 GB, free: 12.47 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.306, allocations: 163 kB / 1.64 GB, free: 12.27 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/1.306, allocations: 0 / 1.64 GB, free: 12.27 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/1.306, allocations: 7.938 kB / 1.64 GB, free: 12.27 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.307, allocations: 53.55 kB / 1.64 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.307, allocations: 0 / 1.64 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.307, allocations: 7.812 kB / 1.64 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.307, allocations: 0 / 1.64 GB, free: 12.21 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/1.307, allocations: 19.92 kB / 1.64 GB, free: 12.19 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/1.307, allocations: 164.8 kB / 1.641 GB, free: 11.98 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/1.307, allocations: 54.31 kB / 1.641 GB, free: 11.93 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/1.307, allocations: 15.73 kB / 1.641 GB, free: 11.91 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/1.308, allocations: 0.6249 MB / 1.641 GB, free: 11.2 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.308, allocations: 37.75 kB / 1.641 GB, free: 11.15 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/1.308, allocations: 0 / 1.641 GB, free: 11.15 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0006035/1.309, allocations: 296.8 kB / 1.642 GB, free: 10.83 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/1.309, allocations: 51.41 kB / 1.642 GB, free: 10.77 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/1.309, allocations: 104.9 kB / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.309, allocations: 25.7 kB / 1.642 GB, free: 10.63 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/1.309, allocations: 84.05 kB / 1.642 GB, free: 10.54 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/1.309, allocations: 31.36 kB / 1.642 GB, free: 10.52 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/1.309, allocations: 7.75 kB / 1.642 GB, free: 10.51 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.309, allocations: 314.8 kB / 1.642 GB, free: 10.2 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/1.309, allocations: 19.75 kB / 1.642 GB, free: 10.18 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/1.309, allocations: 51.12 kB / 1.642 GB, free: 10.12 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/1.309, allocations: 23.86 kB / 1.642 GB, free: 10.1 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.309, allocations: 0 / 1.642 GB, free: 10.1 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/1.309, allocations: 92.8 kB / 1.642 GB, free: 10.01 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.309, allocations: 8.938 kB / 1.642 GB, free: 10 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.309, allocations: 0 / 1.642 GB, free: 10 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.309, allocations: 7.953 kB / 1.642 GB, free: 9.996 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/1.309, allocations: 19.98 kB / 1.642 GB, free: 9.977 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.309, allocations: 0 / 1.642 GB, free: 9.977 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/1.309, allocations: 7.125 kB / 1.642 GB, free: 9.973 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.309, allocations: 4.078 kB / 1.642 GB, free: 9.969 MB / 1.057 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 7.793e-05/1.31, allocations: 114 kB / 1.642 GB, free: 9.855 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/1.31, allocations: 4 kB / 1.642 GB, free: 9.852 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/1.31, allocations: 7.969 kB / 1.642 GB, free: 9.848 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.31, allocations: 3.953 kB / 1.642 GB, free: 9.844 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.31, allocations: 4 kB / 1.642 GB, free: 9.84 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.31, allocations: 3.984 kB / 1.643 GB, free: 9.836 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/1.31, allocations: 165.4 kB / 1.643 GB, free: 9.629 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.31, allocations: 0 / 1.643 GB, free: 9.629 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/1.31, allocations: 19.86 kB / 1.643 GB, free: 9.613 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.31, allocations: 0 / 1.643 GB, free: 9.613 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/1.31, allocations: 4 kB / 1.643 GB, free: 9.609 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.31, allocations: 7.984 kB / 1.643 GB, free: 9.602 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.31, allocations: 3.953 kB / 1.643 GB, free: 9.598 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.31, allocations: 173.8 kB / 1.643 GB, free: 9.422 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/1.31, allocations: 81.11 kB / 1.643 GB, free: 9.324 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/1.31, allocations: 0 / 1.643 GB, free: 9.324 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/1.31, allocations: 11.91 kB / 1.643 GB, free: 9.316 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/1.31, allocations: 4 kB / 1.643 GB, free: 9.312 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/1.31, allocations: 12.14 kB / 1.643 GB, free: 9.301 MB / 1.057 GB Notification: Performance of sorting global known variables: time 3.932e-05/1.31, allocations: 79.66 kB / 1.643 GB, free: 9.223 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.41e-07/1.311, allocations: 0 / 1.643 GB, free: 9.223 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002361/1.311, allocations: 15.94 kB / 1.643 GB, free: 9.211 MB / 1.057 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.0005802/1.311, allocations: 0.7588 MB / 1.644 GB, free: 8.445 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001012/1.311, allocations: 39.69 kB / 1.644 GB, free: 8.41 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.311, allocations: 0 / 1.644 GB, free: 8.41 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/1.311, allocations: 15.06 kB / 1.644 GB, free: 8.398 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/1.312, allocations: 11.88 kB / 1.644 GB, free: 8.391 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/1.312, allocations: 311.3 kB / 1.644 GB, free: 8.059 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/1.313, allocations: 0.6848 MB / 1.645 GB, free: 7.348 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 6.341e-05/1.313, allocations: 11.77 kB / 1.645 GB, free: 7.336 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/1.313, allocations: 15.06 kB / 1.645 GB, free: 7.324 MB / 1.057 GB Notification: Performance of SimCode: time 4.6e-07/1.313, allocations: 4 kB / 1.645 GB, free: 7.32 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/1.326, allocations: 2.319 MB / 1.647 GB, free: 5.133 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.327, allocations: 160 kB / 1.647 GB, free: 4.91 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.856, allocations: 2.391 kB / 1.647 GB, free: 4.91 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