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.167/2.167, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001088/0.001088, allocations: 187.3 kB / 498.1 MB, free: 5.73 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.567/1.567, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009379/0.000938, allocations: 102.2 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004581, allocations: 8.969 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3538, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.58, allocations: 361.2 MB / 1.576 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.58, allocations: 83.11 kB / 1.576 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02129/1.602, allocations: 8.294 MB / 1.584 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.873e-06/1.602, allocations: 0 / 1.584 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.602, allocations: 0 / 1.584 GB, free: 15.63 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.0004596/1.602, allocations: 366.8 kB / 1.584 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.602, allocations: 12.03 kB / 1.584 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/1.602, allocations: 30.56 kB / 1.584 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/1.603, allocations: 16.64 kB / 1.584 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/1.603, allocations: 163.1 kB / 1.584 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.603, allocations: 7.188 kB / 1.584 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/1.603, allocations: 4 kB / 1.584 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.603, allocations: 71.5 kB / 1.584 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.603, allocations: 3.938 kB / 1.584 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.603, allocations: 3.5 kB / 1.584 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.603, allocations: 4 kB / 1.584 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/1.603, allocations: 4 kB / 1.584 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/1.604, allocations: 474.2 kB / 1.585 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.604, allocations: 75.34 kB / 1.585 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/1.604, allocations: 3.984 kB / 1.585 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.604, allocations: 42.25 kB / 1.585 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/1.604, allocations: 0 / 1.585 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.000726/1.605, allocations: 307.9 kB / 1.585 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/1.605, allocations: 102.8 kB / 1.585 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/1.605, allocations: 96.92 kB / 1.586 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.605, allocations: 29.7 kB / 1.586 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/1.605, allocations: 95.73 kB / 1.586 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/1.605, allocations: 23 kB / 1.586 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.605, allocations: 0 / 1.586 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.605, allocations: 322.8 kB / 1.586 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/1.605, allocations: 15.69 kB / 1.586 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/1.605, allocations: 52.83 kB / 1.586 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/1.605, allocations: 19.36 kB / 1.586 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.605, allocations: 0 / 1.586 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001571/1.606, allocations: 92.56 kB / 1.586 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.606, allocations: 7.984 kB / 1.586 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.606, allocations: 4.125 kB / 1.586 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.606, allocations: 4 kB / 1.586 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/1.606, allocations: 23.89 kB / 1.586 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.606, allocations: 4.062 kB / 1.586 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/1.606, allocations: 4 kB / 1.586 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.606, allocations: 4 kB / 1.586 GB, free: 12.96 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 0.0001139/1.606, allocations: 117.3 kB / 1.586 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/1.606, allocations: 11.59 kB / 1.586 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/1.606, allocations: 7.5 kB / 1.586 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.606, allocations: 7.938 kB / 1.586 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.606, allocations: 7.953 kB / 1.586 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.606, allocations: 0 / 1.586 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/1.607, allocations: 169.3 kB / 1.586 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.607, allocations: 0 / 1.586 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/1.607, allocations: 19.98 kB / 1.587 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.607, allocations: 0 / 1.587 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.607, allocations: 3.75 kB / 1.587 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.607, allocations: 4 kB / 1.587 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.607, allocations: 0.6094 kB / 1.587 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/1.607, allocations: 356.3 kB / 1.587 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/1.607, allocations: 81.02 kB / 1.587 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.607, allocations: 7.953 kB / 1.587 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.607, allocations: 11.78 kB / 1.587 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/1.607, allocations: 8.094 kB / 1.587 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/1.607, allocations: 4 kB / 1.587 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.431e-05/1.607, allocations: 83.25 kB / 1.587 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/1.607, allocations: 3.938 kB / 1.587 GB, free: 12 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003351/1.608, allocations: 19.88 kB / 1.587 GB, free: 11.99 MB / 0.9323 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 () * 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.0006889/1.608, allocations: 1.03 MB / 1.588 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.609, allocations: 43.28 kB / 1.588 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.609, allocations: 256 / 1.588 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/1.609, allocations: 23.62 kB / 1.588 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/1.609, allocations: 7.984 kB / 1.588 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.611, allocations: 1.433 MB / 1.59 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.611, allocations: 0.6848 MB / 1.59 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.12e-05/1.611, allocations: 11.77 kB / 1.59 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/1.611, allocations: 23.06 kB / 1.59 GB, free: 8.66 MB / 0.9323 GB Notification: Performance of SimCode: time 6.42e-07/1.611, allocations: 0 / 1.59 GB, free: 8.66 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/1.627, allocations: 1.462 MB / 1.592 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002922/1.628, allocations: 213.2 kB / 1.592 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/3.361, allocations: 0 / 1.592 GB, free: 7.172 MB / 0.9323 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