Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.404/2.404, allocations: 390.5 MB / 398 MB, free: 10.95 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.001124/0.001124, allocations: 176.3 kB / 491.2 MB, free: 1.594 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.791/1.791, 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.001361/0.001361, allocations: 99.77 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.894e-05, allocations: 6.188 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.583/1.896, allocations: 356.1 MB / 1.56 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.896, allocations: 77.58 kB / 1.56 GB, free: 9.328 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.0421/1.938, allocations: 16.64 MB / 1.576 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.973e-06/1.938, allocations: 0 / 1.576 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.938, allocations: 0 / 1.576 GB, free: 11.57 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009971/1.939, allocations: 489 kB / 1.577 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.939, allocations: 12.03 kB / 1.577 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/1.941, allocations: 173.1 kB / 1.577 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/1.942, allocations: 209.3 kB / 1.577 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.942, allocations: 4 kB / 1.577 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/1.942, allocations: 8 kB / 1.577 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004518/1.942, allocations: 201.2 kB / 1.578 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/1.943, allocations: 238.5 kB / 1.578 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.943, allocations: 0 / 1.578 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/1.943, allocations: 7.938 kB / 1.578 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.943, allocations: 7.938 kB / 1.578 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/1.944, allocations: 1.347 MB / 1.579 GB, free: 8.871 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/1.945, allocations: 147.2 kB / 1.579 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/1.945, allocations: 61.39 kB / 1.579 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.945, allocations: 4 kB / 1.579 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/1.945, allocations: 36.94 kB / 1.579 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/1.945, allocations: 0 / 1.579 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0003388/1.945, allocations: 144.2 kB / 1.579 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.945, allocations: 59.39 kB / 1.58 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.946, allocations: 124.8 kB / 1.58 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/1.946, allocations: 25.7 kB / 1.58 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/1.946, allocations: 131.5 kB / 1.58 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/1.946, allocations: 61.97 kB / 1.58 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/1.946, allocations: 0 / 1.58 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.946, allocations: 322.3 kB / 1.58 GB, free: 7.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/1.946, allocations: 45.84 kB / 1.58 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/1.946, allocations: 123.5 kB / 1.58 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/1.946, allocations: 56.22 kB / 1.58 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.946, allocations: 3.938 kB / 1.58 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003262/1.947, allocations: 197.9 kB / 1.581 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.947, allocations: 8.312 kB / 1.581 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.947, allocations: 4 kB / 1.581 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.947, allocations: 4 kB / 1.581 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/1.947, allocations: 71.83 kB / 1.581 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.947, allocations: 7.938 kB / 1.581 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.947, allocations: 31.72 kB / 1.581 GB, free: 7.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/1.947, allocations: 11.98 kB / 1.581 GB, free: 7.312 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001021/1.947, allocations: 108.9 kB / 1.581 GB, free: 7.199 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002489/1.948, allocations: 141.1 kB / 1.581 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/1.948, allocations: 15.81 kB / 1.581 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/1.948, allocations: 181.8 kB / 1.581 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.948, allocations: 4 kB / 1.581 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.948, allocations: 3.938 kB / 1.581 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.948, allocations: 7.938 kB / 1.581 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/1.948, allocations: 207.1 kB / 1.581 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.948, allocations: 0 / 1.581 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.949, allocations: 51.53 kB / 1.581 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.949, allocations: 0 / 1.581 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.949, allocations: 7.984 kB / 1.581 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.949, allocations: 4 kB / 1.581 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.949, allocations: 0 / 1.581 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/1.949, allocations: 250.9 kB / 1.582 GB, free: 6.402 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.949, allocations: 113.7 kB / 1.582 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.949, allocations: 0 / 1.582 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/1.95, allocations: 19.98 kB / 1.582 GB, free: 6.258 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/1.95, allocations: 7.984 kB / 1.582 GB, free: 6.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/1.95, allocations: 11.61 kB / 1.582 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.667e-05/1.95, allocations: 102.3 kB / 1.582 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.95, allocations: 3.938 kB / 1.582 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004395/1.95, allocations: 48.12 kB / 1.582 GB, free: 6.098 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0008243/1.951, allocations: 0.8256 MB / 1.583 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003066/1.951, allocations: 141.1 kB / 1.583 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.951, allocations: 4.125 kB / 1.583 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/1.951, allocations: 73.48 kB / 1.583 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/1.952, allocations: 36.31 kB / 1.583 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/1.953, allocations: 260.5 kB / 1.583 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.953, allocations: 0.721 MB / 1.584 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003737/1.954, allocations: 45.84 kB / 1.584 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.954, allocations: 45.91 kB / 1.584 GB, free: 4 MB / 0.9948 GB Notification: Performance of SimCode: time 2.3e-07/1.954, allocations: 0 / 1.584 GB, free: 4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/1.98, allocations: 3.851 MB / 1.588 GB, free: 204 kB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/1.981, allocations: 176.8 kB / 1.588 GB, free: 8 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/3.635, allocations: 2.953 kB / 1.588 GB, free: 8 kB / 0.9948 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat does not exist to compare? outputFormat=mat