Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",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.637/2.637, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001115/0.001115, allocations: 186.5 kB / 0.4901 GB, free: 2.258 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.74/1.74, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009701/0.0009701, allocations: 93.98 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 20.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3003, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9614/1.262, allocations: 379.2 MB / 1.6 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.262, allocations: 68.09 kB / 1.6 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03062/1.293, allocations: 13.38 MB / 1.613 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.107e-06/1.293, allocations: 0 / 1.613 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.293, allocations: 7.938 kB / 1.613 GB, free: 6.883 MB / 0.9323 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.0004102/1.293, allocations: 350.4 kB / 1.613 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.293, allocations: 12.55 kB / 1.613 GB, free: 6.488 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/1.293, allocations: 38.5 kB / 1.613 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.293, allocations: 11.89 kB / 1.613 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.294, allocations: 159.1 kB / 1.613 GB, free: 6.234 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.294, allocations: 7.812 kB / 1.613 GB, free: 6.23 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.294, allocations: 3.906 kB / 1.613 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/1.294, allocations: 52.73 kB / 1.613 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/1.294, allocations: 0 / 1.613 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/1.294, allocations: 4 kB / 1.613 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/1.294, allocations: 7.984 kB / 1.613 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/1.294, allocations: 31.55 kB / 1.613 GB, free: 6.137 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/1.294, allocations: 161.2 kB / 1.614 GB, free: 5.938 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/1.294, allocations: 49.44 kB / 1.614 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/1.295, allocations: 0.5966 MB / 1.614 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.295, allocations: 38.12 kB / 1.614 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/1.295, allocations: 0 / 1.614 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0006721/1.296, allocations: 299.2 kB / 1.614 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.296, allocations: 58.84 kB / 1.615 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/1.296, allocations: 92.98 kB / 1.615 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.296, allocations: 29.14 kB / 1.615 GB, free: 4.633 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/1.296, allocations: 88.05 kB / 1.615 GB, free: 4.543 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.296, allocations: 31.14 kB / 1.615 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.296, allocations: 3.688 kB / 1.615 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.296, allocations: 310.8 kB / 1.615 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/1.296, allocations: 15.61 kB / 1.615 GB, free: 4.191 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/1.296, allocations: 52.58 kB / 1.615 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/1.296, allocations: 19.5 kB / 1.615 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.296, allocations: 3.938 kB / 1.615 GB, free: 4.109 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/1.296, allocations: 95.02 kB / 1.615 GB, free: 4.023 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.297, allocations: 11.95 kB / 1.615 GB, free: 4.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.297, allocations: 0 / 1.615 GB, free: 4.012 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.297, allocations: 4.125 kB / 1.615 GB, free: 4.008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/1.297, allocations: 23.56 kB / 1.615 GB, free: 3.988 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.297, allocations: 3.984 kB / 1.615 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/1.297, allocations: 4 kB / 1.615 GB, free: 3.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.297, allocations: 4 kB / 1.615 GB, free: 3.977 MB / 0.9323 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 8.809e-05/1.297, allocations: 113.3 kB / 1.615 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/1.297, allocations: 4 kB / 1.615 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/1.297, allocations: 14.98 kB / 1.615 GB, free: 3.844 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.297, allocations: 4 kB / 1.615 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.297, allocations: 4 kB / 1.615 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/1.297, allocations: 0 / 1.615 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/1.297, allocations: 169.4 kB / 1.616 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.297, allocations: 3.938 kB / 1.616 GB, free: 3.621 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/1.297, allocations: 19.92 kB / 1.616 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.297, allocations: 0 / 1.616 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/1.297, allocations: 3.438 kB / 1.616 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.297, allocations: 8.391 kB / 1.616 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.297, allocations: 0 / 1.616 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/1.298, allocations: 177.7 kB / 1.616 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/1.298, allocations: 81.2 kB / 1.616 GB, free: 3.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.298, allocations: 7.625 kB / 1.616 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.298, allocations: 8.016 kB / 1.616 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/1.298, allocations: 7.953 kB / 1.616 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.298, allocations: 4 kB / 1.616 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.216e-05/1.298, allocations: 78.97 kB / 1.616 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.21e-07/1.298, allocations: 0 / 1.616 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002461/1.298, allocations: 19.73 kB / 1.616 GB, free: 3.203 MB / 0.9323 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.0004343/1.298, allocations: 0.7274 MB / 1.617 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001043/1.299, allocations: 42.55 kB / 1.617 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.299, allocations: 0 / 1.617 GB, free: 2.43 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/1.299, allocations: 15.86 kB / 1.617 GB, free: 2.418 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/1.299, allocations: 9.484 kB / 1.617 GB, free: 2.41 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.3, allocations: 1.437 MB / 1.618 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/1.3, allocations: 0.6866 MB / 1.619 GB, free: 228 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.295e-05/1.3, allocations: 15.77 kB / 1.619 GB, free: 212 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/1.3, allocations: 14.81 kB / 1.619 GB, free: 200 kB / 0.9323 GB Notification: Performance of SimCode: time 3.6e-07/1.3, allocations: 0 / 1.619 GB, free: 200 kB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/1.314, allocations: 1.782 MB / 1.621 GB, free: 14.54 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.314, allocations: 181.8 kB / 1.621 GB, free: 14.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.841, allocations: 0 / 1.621 GB, free: 14.29 MB / 0.948 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat