Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterDerivativeCheck",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.445/2.445, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001078/0.001078, allocations: 169 kB / 492.3 MB, free: 0.6328 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.463/1.463, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009366/0.0009368, allocations: 87.95 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.125e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.45, allocations: 378.3 MB / 1.582 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/1.45, allocations: 63.34 kB / 1.582 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0303/1.48, allocations: 13.34 MB / 1.595 GB, free: 8.793 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.838e-06/1.48, allocations: 4 kB / 1.595 GB, free: 8.789 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.48, allocations: 3.938 kB / 1.595 GB, free: 8.785 MB / 1.01 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.0003652/1.481, allocations: 345.8 kB / 1.595 GB, free: 8.406 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.481, allocations: 8.031 kB / 1.595 GB, free: 8.398 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/1.481, allocations: 42.55 kB / 1.595 GB, free: 8.348 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/1.481, allocations: 8.734 kB / 1.595 GB, free: 8.34 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.481, allocations: 163 kB / 1.596 GB, free: 8.141 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.481, allocations: 3.438 kB / 1.596 GB, free: 8.141 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/1.481, allocations: 8 kB / 1.596 GB, free: 8.133 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/1.481, allocations: 52.61 kB / 1.596 GB, free: 8.082 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.481, allocations: 0 / 1.596 GB, free: 8.082 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/1.481, allocations: 4 kB / 1.596 GB, free: 8.078 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.481, allocations: 0 / 1.596 GB, free: 8.078 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/1.481, allocations: 23.05 kB / 1.596 GB, free: 8.059 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/1.482, allocations: 167.5 kB / 1.596 GB, free: 7.852 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/1.482, allocations: 49.12 kB / 1.596 GB, free: 7.801 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/1.482, allocations: 19.98 kB / 1.596 GB, free: 7.781 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008056/1.483, allocations: 0.6095 MB / 1.596 GB, free: 7.078 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/1.483, allocations: 36.81 kB / 1.597 GB, free: 7.035 MB / 1.01 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/1.483, allocations: 0 / 1.597 GB, free: 7.035 MB / 1.01 GB Notification: Performance of matching and sorting (n=7): time 0.0006454/1.483, allocations: 306 kB / 1.597 GB, free: 6.703 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.483, allocations: 51.41 kB / 1.597 GB, free: 6.641 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/1.483, allocations: 96.17 kB / 1.597 GB, free: 6.543 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/1.483, allocations: 25.7 kB / 1.597 GB, free: 6.512 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/1.484, allocations: 87.17 kB / 1.597 GB, free: 6.426 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/1.484, allocations: 22.22 kB / 1.597 GB, free: 6.406 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/1.484, allocations: 0 / 1.597 GB, free: 6.406 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.484, allocations: 326 kB / 1.597 GB, free: 6.082 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/1.484, allocations: 11 kB / 1.597 GB, free: 6.074 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/1.484, allocations: 52.28 kB / 1.597 GB, free: 6.012 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/1.484, allocations: 27.09 kB / 1.597 GB, free: 5.988 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.484, allocations: 4 kB / 1.597 GB, free: 5.984 MB / 1.01 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001443/1.484, allocations: 94.14 kB / 1.598 GB, free: 5.898 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.484, allocations: 8 kB / 1.598 GB, free: 5.891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.484, allocations: 3.953 kB / 1.598 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.484, allocations: 4 kB / 1.598 GB, free: 5.883 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/1.484, allocations: 19.98 kB / 1.598 GB, free: 5.863 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.484, allocations: 0 / 1.598 GB, free: 5.863 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/1.484, allocations: 4 kB / 1.598 GB, free: 5.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.484, allocations: 8.125 kB / 1.598 GB, free: 5.852 MB / 1.01 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 8.026e-05/1.484, allocations: 111.3 kB / 1.598 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/1.484, allocations: 4 kB / 1.598 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/1.484, allocations: 6.219 kB / 1.598 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.484, allocations: 7.953 kB / 1.598 GB, free: 5.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.484, allocations: 0 / 1.598 GB, free: 5.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.484, allocations: 0 / 1.598 GB, free: 5.73 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/1.485, allocations: 171.7 kB / 1.598 GB, free: 5.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.485, allocations: 4 kB / 1.598 GB, free: 5.516 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/1.485, allocations: 15.98 kB / 1.598 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.485, allocations: 4 kB / 1.598 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/1.485, allocations: 2.75 kB / 1.598 GB, free: 5.496 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.485, allocations: 4 kB / 1.598 GB, free: 5.492 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.485, allocations: 3.953 kB / 1.598 GB, free: 5.488 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/1.485, allocations: 178 kB / 1.598 GB, free: 5.309 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/1.485, allocations: 81.11 kB / 1.598 GB, free: 5.211 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/1.485, allocations: 0 / 1.598 GB, free: 5.211 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.485, allocations: 11.31 kB / 1.598 GB, free: 5.203 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/1.485, allocations: 7.938 kB / 1.598 GB, free: 5.195 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/1.485, allocations: 4 kB / 1.598 GB, free: 5.191 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.311e-05/1.485, allocations: 82.72 kB / 1.598 GB, free: 5.113 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/1.485, allocations: 3.938 kB / 1.598 GB, free: 5.109 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002306/1.486, allocations: 12 kB / 1.598 GB, free: 5.098 MB / 1.01 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.0005302/1.486, allocations: 0.7243 MB / 1.599 GB, free: 4.363 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001213/1.486, allocations: 47.66 kB / 1.599 GB, free: 4.324 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.486, allocations: 3.938 kB / 1.599 GB, free: 4.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/1.486, allocations: 17.5 kB / 1.599 GB, free: 4.305 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/1.486, allocations: 6.281 kB / 1.599 GB, free: 4.301 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/1.487, allocations: 322.4 kB / 1.599 GB, free: 3.961 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.487, allocations: 0.6848 MB / 1.6 GB, free: 3.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.906e-05/1.487, allocations: 11.78 kB / 1.6 GB, free: 3.238 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/1.487, allocations: 14.88 kB / 1.6 GB, free: 3.227 MB / 1.01 GB Notification: Performance of SimCode: time 7.92e-07/1.487, allocations: 0 / 1.6 GB, free: 3.227 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/1.503, allocations: 1.838 MB / 1.602 GB, free: 1.5 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.503, allocations: 140 kB / 1.602 GB, free: 1.281 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/3.068, allocations: 0 / 1.602 GB, free: 1.281 MB / 1.01 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat