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.186/2.186, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001203/0.001203, allocations: 165 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.00115/0.00115, allocations: 88.02 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.303e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2896, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.464, allocations: 356.8 MB / 1.567 GB, free: 12.45 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.464, allocations: 85.05 kB / 1.567 GB, free: 12.4 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.04062/1.505, allocations: 16.72 MB / 1.584 GB, free: 12.93 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.074e-06/1.505, allocations: 0 / 1.584 GB, free: 12.93 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.505, allocations: 4 kB / 1.584 GB, free: 12.93 MB / 1.042 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.0008681/1.506, allocations: 479.3 kB / 1.584 GB, free: 12.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/1.506, allocations: 12.03 kB / 1.584 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/1.506, allocations: 50.55 kB / 1.584 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/1.508, allocations: 179.5 kB / 1.584 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/1.508, allocations: 202.8 kB / 1.585 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/1.508, allocations: 16.33 kB / 1.585 GB, free: 11.91 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/1.508, allocations: 12 kB / 1.585 GB, free: 11.9 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/1.508, allocations: 276.3 kB / 1.585 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.508, allocations: 3.984 kB / 1.585 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/1.509, allocations: 11.94 kB / 1.585 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.509, allocations: 4 kB / 1.585 GB, free: 11.57 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/1.509, allocations: 224.2 kB / 1.585 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/1.511, allocations: 1.385 MB / 1.586 GB, free: 9.852 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/1.511, allocations: 162.5 kB / 1.587 GB, free: 9.684 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/1.511, allocations: 64.89 kB / 1.587 GB, free: 9.617 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/1.511, allocations: 7.969 kB / 1.587 GB, free: 9.609 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.511, allocations: 34.56 kB / 1.587 GB, free: 9.566 MB / 1.042 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/1.511, allocations: 3.938 kB / 1.587 GB, free: 9.562 MB / 1.042 GB Notification: Performance of matching and sorting (n=18): time 0.0003515/1.512, allocations: 163.2 kB / 1.587 GB, free: 9.398 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.512, allocations: 59.41 kB / 1.587 GB, free: 9.328 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/1.512, allocations: 143.6 kB / 1.587 GB, free: 9.184 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/1.512, allocations: 33.7 kB / 1.587 GB, free: 9.145 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/1.512, allocations: 120 kB / 1.587 GB, free: 9.023 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/1.512, allocations: 67.09 kB / 1.587 GB, free: 8.957 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/1.512, allocations: 4 kB / 1.587 GB, free: 8.953 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.512, allocations: 322.8 kB / 1.588 GB, free: 8.629 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/1.512, allocations: 48.47 kB / 1.588 GB, free: 8.578 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.512, allocations: 134.3 kB / 1.588 GB, free: 8.414 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.512, allocations: 63.91 kB / 1.588 GB, free: 8.352 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.512, allocations: 4 kB / 1.588 GB, free: 8.348 MB / 1.042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003496/1.513, allocations: 218.7 kB / 1.588 GB, free: 8.129 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.513, allocations: 8 kB / 1.588 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.513, allocations: 4 kB / 1.588 GB, free: 8.117 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.513, allocations: 7.953 kB / 1.588 GB, free: 8.109 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.513, allocations: 67.88 kB / 1.588 GB, free: 8.043 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.513, allocations: 7.938 kB / 1.588 GB, free: 8.035 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/1.513, allocations: 35.95 kB / 1.588 GB, free: 8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.514, allocations: 12 kB / 1.588 GB, free: 7.988 MB / 1.042 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.0001074/1.514, allocations: 116.9 kB / 1.588 GB, free: 7.867 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/1.514, allocations: 19.81 kB / 1.588 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.514, allocations: 196 kB / 1.588 GB, free: 7.652 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.514, allocations: 0 / 1.588 GB, free: 7.652 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.514, allocations: 3.984 kB / 1.588 GB, free: 7.648 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.514, allocations: 0 / 1.588 GB, free: 7.648 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/1.514, allocations: 249.4 kB / 1.589 GB, free: 7.355 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.514, allocations: 0 / 1.589 GB, free: 7.355 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/1.515, allocations: 55.91 kB / 1.589 GB, free: 7.301 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.515, allocations: 4 kB / 1.589 GB, free: 7.297 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/1.515, allocations: 3.984 kB / 1.589 GB, free: 7.293 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.515, allocations: 4 kB / 1.589 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.515, allocations: 0 / 1.589 GB, free: 7.289 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/1.515, allocations: 263.9 kB / 1.589 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/1.515, allocations: 112.8 kB / 1.589 GB, free: 6.887 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/1.515, allocations: 4 kB / 1.589 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/1.516, allocations: 23.98 kB / 1.589 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/1.516, allocations: 7.984 kB / 1.589 GB, free: 6.852 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.516, allocations: 19.92 kB / 1.589 GB, free: 6.832 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.583e-05/1.516, allocations: 117.2 kB / 1.589 GB, free: 6.719 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.516, allocations: 0 / 1.589 GB, free: 6.719 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004226/1.516, allocations: 72.02 kB / 1.589 GB, free: 6.648 MB / 1.042 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.0008559/1.517, allocations: 0.8319 MB / 1.59 GB, free: 5.793 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003663/1.518, allocations: 153.4 kB / 1.59 GB, free: 5.645 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/1.518, allocations: 0 / 1.59 GB, free: 5.645 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.518, allocations: 75.88 kB / 1.59 GB, free: 5.57 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/1.518, allocations: 52.58 kB / 1.59 GB, free: 5.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/1.519, allocations: 270.8 kB / 1.591 GB, free: 5.227 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/1.52, allocations: 0.7252 MB / 1.591 GB, free: 4.477 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0003547/1.52, allocations: 50.05 kB / 1.591 GB, free: 4.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.52, allocations: 51.42 kB / 1.592 GB, free: 4.379 MB / 1.042 GB Notification: Performance of SimCode: time 4e-07/1.52, allocations: 0 / 1.592 GB, free: 4.379 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/1.538, allocations: 4.705 MB / 1.596 GB, free: 15.91 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.538, allocations: 192.6 kB / 1.596 GB, free: 15.68 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.274, allocations: 0 / 1.596 GB, free: 15.68 MB / 1.057 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