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.148/2.148, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001401/0.001402, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009401/0.0009403, allocations: 91.91 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.15e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.37, allocations: 419.2 MB / 1.628 GB, free: 15.21 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/1.37, allocations: 64.53 kB / 1.628 GB, free: 15.15 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 0.04066/1.411, allocations: 19.06 MB / 1.647 GB, free: 11.96 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.443e-06/1.411, allocations: 0 / 1.647 GB, free: 11.96 MB / 1.104 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.411, allocations: 4 kB / 1.647 GB, free: 11.96 MB / 1.104 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.00037/1.412, allocations: 358.4 kB / 1.647 GB, free: 11.57 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.412, allocations: 12.02 kB / 1.647 GB, free: 11.55 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/1.412, allocations: 38.5 kB / 1.647 GB, free: 11.51 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/1.412, allocations: 16.64 kB / 1.647 GB, free: 11.49 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.412, allocations: 159.1 kB / 1.647 GB, free: 11.3 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/1.412, allocations: 4 kB / 1.647 GB, free: 11.29 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/1.412, allocations: 4 kB / 1.647 GB, free: 11.29 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/1.412, allocations: 53.67 kB / 1.648 GB, free: 11.23 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/1.412, allocations: 0 / 1.648 GB, free: 11.23 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.412, allocations: 4 kB / 1.648 GB, free: 11.23 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/1.412, allocations: 4 kB / 1.648 GB, free: 11.22 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/1.412, allocations: 19.92 kB / 1.648 GB, free: 11.2 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/1.412, allocations: 169.6 kB / 1.648 GB, free: 10.99 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/1.412, allocations: 46.56 kB / 1.648 GB, free: 10.93 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/1.412, allocations: 16.86 kB / 1.648 GB, free: 10.91 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/1.413, allocations: 0.6219 MB / 1.648 GB, free: 10.18 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/1.413, allocations: 34.5 kB / 1.648 GB, free: 10.14 MB / 1.104 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.413, allocations: 0 / 1.648 GB, free: 10.14 MB / 1.104 GB Notification: Performance of matching and sorting (n=7): time 0.0004937/1.414, allocations: 306.5 kB / 1.649 GB, free: 9.789 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.414, allocations: 51.41 kB / 1.649 GB, free: 9.727 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/1.414, allocations: 101 kB / 1.649 GB, free: 9.621 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.414, allocations: 25.7 kB / 1.649 GB, free: 9.59 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/1.414, allocations: 88.05 kB / 1.649 GB, free: 9.5 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.414, allocations: 19.66 kB / 1.649 GB, free: 9.48 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/1.414, allocations: 7.938 kB / 1.649 GB, free: 9.473 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.414, allocations: 318.9 kB / 1.649 GB, free: 9.152 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/1.414, allocations: 12 kB / 1.649 GB, free: 9.141 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/1.414, allocations: 57.16 kB / 1.649 GB, free: 9.066 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/1.414, allocations: 15.98 kB / 1.649 GB, free: 9.051 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/1.414, allocations: 3.938 kB / 1.649 GB, free: 9.047 MB / 1.104 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/1.414, allocations: 97.55 kB / 1.649 GB, free: 8.945 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.414, allocations: 11.95 kB / 1.649 GB, free: 8.934 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.414, allocations: 0 / 1.649 GB, free: 8.934 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.414, allocations: 4 kB / 1.649 GB, free: 8.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/1.414, allocations: 19.98 kB / 1.65 GB, free: 8.91 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.414, allocations: 4 kB / 1.65 GB, free: 8.906 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/1.414, allocations: 4 kB / 1.65 GB, free: 8.902 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.414, allocations: 4 kB / 1.65 GB, free: 8.898 MB / 1.104 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.169e-05/1.415, allocations: 112.9 kB / 1.65 GB, free: 8.781 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/1.415, allocations: 4.031 kB / 1.65 GB, free: 8.777 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/1.415, allocations: 12.05 kB / 1.65 GB, free: 8.766 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.415, allocations: 4 kB / 1.65 GB, free: 8.762 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.415, allocations: 0 / 1.65 GB, free: 8.762 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.415, allocations: 0 / 1.65 GB, free: 8.762 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/1.415, allocations: 169.7 kB / 1.65 GB, free: 8.547 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.415, allocations: 256 / 1.65 GB, free: 8.547 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/1.415, allocations: 27.92 kB / 1.65 GB, free: 8.52 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.415, allocations: 0 / 1.65 GB, free: 8.52 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.415, allocations: 4 kB / 1.65 GB, free: 8.516 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.415, allocations: 3.953 kB / 1.65 GB, free: 8.512 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.415, allocations: 4 kB / 1.65 GB, free: 8.508 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/1.415, allocations: 171.4 kB / 1.65 GB, free: 8.324 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/1.415, allocations: 85.14 kB / 1.65 GB, free: 8.223 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/1.415, allocations: 0 / 1.65 GB, free: 8.223 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/1.415, allocations: 4 kB / 1.65 GB, free: 8.219 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/1.415, allocations: 11.94 kB / 1.65 GB, free: 8.207 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.415, allocations: 0 / 1.65 GB, free: 8.207 MB / 1.104 GB Notification: Performance of sorting global known variables: time 3.358e-05/1.415, allocations: 87.66 kB / 1.65 GB, free: 8.121 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.4e-07/1.415, allocations: 0 / 1.65 GB, free: 8.121 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0002196/1.416, allocations: 16 kB / 1.65 GB, free: 8.105 MB / 1.104 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.0004886/1.416, allocations: 0.7488 MB / 1.651 GB, free: 7.332 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 9.521e-05/1.416, allocations: 43.88 kB / 1.651 GB, free: 7.289 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.416, allocations: 0 / 1.651 GB, free: 7.289 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/1.416, allocations: 16 kB / 1.651 GB, free: 7.273 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/1.416, allocations: 11.89 kB / 1.651 GB, free: 7.262 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/1.417, allocations: 319.2 kB / 1.651 GB, free: 6.914 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/1.417, allocations: 0.6937 MB / 1.652 GB, free: 6.195 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 5.487e-05/1.417, allocations: 7.766 kB / 1.652 GB, free: 6.188 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/1.417, allocations: 11.44 kB / 1.652 GB, free: 6.176 MB / 1.104 GB Notification: Performance of SimCode: time 3.086e-06/1.417, allocations: 0 / 1.652 GB, free: 6.176 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/1.429, allocations: 2.33 MB / 1.654 GB, free: 3.992 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/1.43, allocations: 167.5 kB / 1.654 GB, free: 3.77 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.828, allocations: 0 / 1.654 GB, free: 3.77 MB / 1.104 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