Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.217/2.217, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009517/0.000952, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.48/1.48, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 100.9 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.635e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.311, allocations: 360.4 MB / 1.558 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.311, allocations: 82.75 kB / 1.558 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.01885/1.33, allocations: 8.208 MB / 1.566 GB, free: 5.969 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.988e-06/1.33, allocations: 4 kB / 1.566 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.33, allocations: 0 / 1.566 GB, free: 5.965 MB / 0.9792 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.0003715/1.331, allocations: 358.3 kB / 1.566 GB, free: 5.574 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.331, allocations: 8.562 kB / 1.566 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/1.331, allocations: 12.77 kB / 1.566 GB, free: 5.555 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/1.331, allocations: 166.9 kB / 1.567 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/1.331, allocations: 4 kB / 1.567 GB, free: 5.348 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/1.331, allocations: 4.812 kB / 1.567 GB, free: 5.348 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.509e-05/1.331, allocations: 11.94 kB / 1.567 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/1.331, allocations: 67.89 kB / 1.567 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.331, allocations: 0 / 1.567 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.331, allocations: 0 / 1.567 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.331, allocations: 0 / 1.567 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/1.332, allocations: 441.5 kB / 1.567 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.332, allocations: 71.53 kB / 1.567 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/1.332, allocations: 18.7 kB / 1.567 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.332, allocations: 4 kB / 1.567 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.332, allocations: 42.44 kB / 1.567 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.332, allocations: 0 / 1.567 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0005878/1.333, allocations: 288.6 kB / 1.568 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.333, allocations: 102.8 kB / 1.568 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/1.333, allocations: 92.5 kB / 1.568 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/1.333, allocations: 25.7 kB / 1.568 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/1.333, allocations: 92.06 kB / 1.568 GB, free: 3.945 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.333, allocations: 27.52 kB / 1.568 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.333, allocations: 0 / 1.568 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.333, allocations: 314.1 kB / 1.568 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/1.333, allocations: 11.81 kB / 1.568 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/1.333, allocations: 48.64 kB / 1.568 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/1.333, allocations: 23.67 kB / 1.568 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/1.333, allocations: 0 / 1.568 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001096/1.333, allocations: 76.34 kB / 1.568 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.333, allocations: 8 kB / 1.568 GB, free: 3.438 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/1.333, allocations: 3.984 kB / 1.568 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.333, allocations: 8.125 kB / 1.568 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/1.334, allocations: 23.81 kB / 1.568 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.334, allocations: 0 / 1.568 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/1.334, allocations: 4.062 kB / 1.568 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.334, allocations: 11.95 kB / 1.568 GB, free: 3.391 MB / 0.9792 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.859e-05/1.334, allocations: 109.9 kB / 1.569 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001161/1.334, allocations: 61.42 kB / 1.569 GB, free: 3.215 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/1.334, allocations: 7.906 kB / 1.569 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/1.334, allocations: 15.56 kB / 1.569 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.334, allocations: 0 / 1.569 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.334, allocations: 3.953 kB / 1.569 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.334, allocations: 0 / 1.569 GB, free: 3.191 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/1.334, allocations: 156.1 kB / 1.569 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.334, allocations: 0 / 1.569 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/1.334, allocations: 16 kB / 1.569 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.334, allocations: 3.984 kB / 1.569 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/1.334, allocations: 4 kB / 1.569 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.334, allocations: 0 / 1.569 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.334, allocations: 0 / 1.569 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/1.335, allocations: 346.3 kB / 1.569 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/1.335, allocations: 85.14 kB / 1.569 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/1.335, allocations: 0 / 1.569 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/1.335, allocations: 7.953 kB / 1.569 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/1.335, allocations: 15.92 kB / 1.569 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.335, allocations: 3.438 kB / 1.569 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.807e-05/1.335, allocations: 79.7 kB / 1.569 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/1.335, allocations: 0 / 1.569 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003216/1.335, allocations: 12 kB / 1.569 GB, free: 2.414 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006285/1.336, allocations: 1.025 MB / 1.57 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.802e-05/1.336, allocations: 34.38 kB / 1.57 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.336, allocations: 4.25 kB / 1.57 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/1.336, allocations: 19.44 kB / 1.57 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.336, allocations: 8.141 kB / 1.57 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/1.337, allocations: 310.8 kB / 1.571 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/1.337, allocations: 0.6885 MB / 1.571 GB, free: 264 kB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.071e-05/1.337, allocations: 15.77 kB / 1.571 GB, free: 248 kB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/1.337, allocations: 18.81 kB / 1.571 GB, free: 232 kB / 0.9792 GB Notification: Performance of SimCode: time 2.7e-07/1.337, allocations: 0 / 1.571 GB, free: 232 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.357, allocations: 1.108 MB / 1.572 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.358, allocations: 179.5 kB / 1.573 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.91, allocations: 2.031 kB / 1.573 GB, free: 14.96 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat