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.246/2.246, allocations: 390.5 MB / 398 MB, free: 10.98 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.001004/0.001004, allocations: 183.5 kB / 491.2 MB, free: 1.562 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.469/1.469, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009656/0.0009656, allocations: 83.97 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.679e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.344, allocations: 378.5 MB / 1.582 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.344, allocations: 66.78 kB / 1.582 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02829/1.372, allocations: 13.28 MB / 1.595 GB, free: 9.289 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/1.372, allocations: 0 / 1.595 GB, free: 9.289 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.372, allocations: 0 / 1.595 GB, free: 9.289 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.0003364/1.373, allocations: 345 kB / 1.595 GB, free: 8.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.373, allocations: 8.031 kB / 1.595 GB, free: 8.902 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/1.373, allocations: 15.55 kB / 1.595 GB, free: 8.891 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/1.373, allocations: 159.1 kB / 1.596 GB, free: 8.695 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.373, allocations: 4 kB / 1.596 GB, free: 8.691 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/1.373, allocations: 7.891 kB / 1.596 GB, free: 8.684 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.84e-05/1.373, allocations: 19.06 kB / 1.596 GB, free: 8.668 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/1.373, allocations: 48.98 kB / 1.596 GB, free: 8.617 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.373, allocations: 0 / 1.596 GB, free: 8.617 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/1.373, allocations: 4 kB / 1.596 GB, free: 8.613 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.373, allocations: 0 / 1.596 GB, free: 8.613 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/1.373, allocations: 145.1 kB / 1.596 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/1.373, allocations: 44.56 kB / 1.596 GB, free: 8.391 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/1.374, allocations: 16.42 kB / 1.596 GB, free: 8.375 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/1.374, allocations: 0.6092 MB / 1.596 GB, free: 7.668 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.374, allocations: 37.81 kB / 1.596 GB, free: 7.625 MB / 1.01 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/1.374, allocations: 0 / 1.596 GB, free: 7.625 MB / 1.01 GB Notification: Performance of matching and sorting (n=7): time 0.0005494/1.375, allocations: 280.6 kB / 1.597 GB, free: 7.309 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.375, allocations: 58.7 kB / 1.597 GB, free: 7.242 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/1.375, allocations: 92.98 kB / 1.597 GB, free: 7.145 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/1.375, allocations: 25.7 kB / 1.597 GB, free: 7.113 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/1.375, allocations: 95.55 kB / 1.597 GB, free: 7.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.375, allocations: 22.97 kB / 1.597 GB, free: 7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.375, allocations: 3.938 kB / 1.597 GB, free: 6.996 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.375, allocations: 318.8 kB / 1.597 GB, free: 6.676 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/1.375, allocations: 10.88 kB / 1.597 GB, free: 6.668 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/1.375, allocations: 44.03 kB / 1.597 GB, free: 6.613 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/1.375, allocations: 22.73 kB / 1.597 GB, free: 6.594 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.375, allocations: 0 / 1.597 GB, free: 6.594 MB / 1.01 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001165/1.376, allocations: 84.27 kB / 1.597 GB, free: 6.512 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.376, allocations: 5.25 kB / 1.597 GB, free: 6.508 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.376, allocations: 0 / 1.597 GB, free: 6.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.376, allocations: 7.953 kB / 1.597 GB, free: 6.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/1.376, allocations: 27.06 kB / 1.597 GB, free: 6.477 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.376, allocations: 7.984 kB / 1.598 GB, free: 6.469 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/1.376, allocations: 0 / 1.598 GB, free: 6.469 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.376, allocations: 4 kB / 1.598 GB, free: 6.465 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 7.637e-05/1.376, allocations: 101 kB / 1.598 GB, free: 6.359 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.627e-05/1.376, allocations: 57.06 kB / 1.598 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/1.376, allocations: 11.86 kB / 1.598 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/1.376, allocations: 7.656 kB / 1.598 GB, free: 6.285 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.376, allocations: 0 / 1.598 GB, free: 6.285 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.376, allocations: 4 kB / 1.598 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.376, allocations: 0 / 1.598 GB, free: 6.281 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/1.376, allocations: 149.6 kB / 1.598 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.376, allocations: 0 / 1.598 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-05/1.376, allocations: 12 kB / 1.598 GB, free: 6.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.376, allocations: 0 / 1.598 GB, free: 6.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.376, allocations: 11.36 kB / 1.598 GB, free: 6.082 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.376, allocations: 4.203 kB / 1.598 GB, free: 6.078 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.376, allocations: 0 / 1.598 GB, free: 6.078 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/1.377, allocations: 170.3 kB / 1.598 GB, free: 5.902 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/1.377, allocations: 89.05 kB / 1.598 GB, free: 5.797 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/1.377, allocations: 0 / 1.598 GB, free: 5.797 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/1.377, allocations: 7.938 kB / 1.598 GB, free: 5.789 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/1.377, allocations: 7.203 kB / 1.598 GB, free: 5.785 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/1.377, allocations: 4 kB / 1.598 GB, free: 5.781 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.232e-05/1.377, allocations: 79.64 kB / 1.598 GB, free: 5.703 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.41e-07/1.377, allocations: 4 kB / 1.598 GB, free: 5.699 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002278/1.377, allocations: 8 kB / 1.598 GB, free: 5.691 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.0004481/1.377, allocations: 0.7262 MB / 1.599 GB, free: 4.953 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/1.378, allocations: 34.38 kB / 1.599 GB, free: 4.926 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.378, allocations: 0 / 1.599 GB, free: 4.926 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/1.378, allocations: 12 kB / 1.599 GB, free: 4.914 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/1.378, allocations: 3.953 kB / 1.599 GB, free: 4.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/1.378, allocations: 305.3 kB / 1.599 GB, free: 4.582 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.379, allocations: 0.6924 MB / 1.6 GB, free: 3.863 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.719e-05/1.379, allocations: 7.781 kB / 1.6 GB, free: 3.855 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/1.379, allocations: 18.8 kB / 1.6 GB, free: 3.84 MB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/1.379, allocations: 4 kB / 1.6 GB, free: 3.836 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.397, allocations: 1.284 MB / 1.601 GB, free: 2.562 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/1.398, allocations: 133.6 kB / 1.601 GB, free: 2.375 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.887, allocations: 224 / 1.601 GB, free: 2.375 MB / 1.01 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