Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007929/0.007929, allocations: 100.6 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 192.7 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9251, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005817/0.931, allocations: 4.061 MB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.9339, allocations: 2.422 MB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.934, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.9342, allocations: 55.66 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.9345, allocations: 99.36 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.9359, allocations: 0.5297 MB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.9362, allocations: 259.9 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.9363, allocations: 13.56 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.9366, allocations: 115.5 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.9367, allocations: 95.66 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.9368, allocations: 8 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.9378, allocations: 459.2 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.213e-05/0.9379, allocations: 39.83 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.938, allocations: 83.66 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.9386, allocations: 409.2 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9386, allocations: 0 / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9387, allocations: 4 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9387, allocations: 0 / 1.175 GB, free: 11.12 MB / 0.9044 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.0008486/0.9395, allocations: 0.5109 MB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.9396, allocations: 8.922 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.9396, allocations: 54.73 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.9417, allocations: 172.5 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.942, allocations: 212.1 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.9421, allocations: 12.7 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.9421, allocations: 16.38 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.9427, allocations: 304.2 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9427, allocations: 3.938 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.9428, allocations: 8 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.9428, allocations: 11.94 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.9435, allocations: 259.6 kB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.9452, allocations: 1.377 MB / 1.177 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.9458, allocations: 199.3 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.9461, allocations: 80.8 kB / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.9461, allocations: 7.984 kB / 1.178 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.9461, allocations: 34.56 kB / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.9462, allocations: 0 / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0007585/0.9469, allocations: 249.3 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.947, allocations: 55.41 kB / 1.178 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9471, allocations: 164.7 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.9471, allocations: 33.64 kB / 1.178 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.9472, allocations: 124 kB / 1.178 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.9473, allocations: 63.09 kB / 1.178 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.9474, allocations: 49.94 kB / 1.179 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9475, allocations: 326.8 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.9477, allocations: 68.41 kB / 1.179 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.9479, allocations: 138.3 kB / 1.179 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.9484, allocations: 223.6 kB / 1.179 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9484, allocations: 4 kB / 1.179 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005993/0.949, allocations: 245.2 kB / 1.179 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9491, allocations: 10.5 kB / 1.179 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9491, allocations: 320 / 1.179 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.9491, allocations: 8 kB / 1.179 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.9495, allocations: 63.89 kB / 1.18 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9495, allocations: 7.938 kB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.9497, allocations: 39.67 kB / 1.18 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.9498, allocations: 12 kB / 1.18 GB, free: 5.637 MB / 0.9044 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.9499, allocations: 129.7 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.9499, allocations: 19.89 kB / 1.18 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.9506, allocations: 228.7 kB / 1.18 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.9506, allocations: 0 / 1.18 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9506, allocations: 4 kB / 1.18 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9506, allocations: 3.984 kB / 1.18 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.9509, allocations: 237.5 kB / 1.18 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9509, allocations: 4 kB / 1.18 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.9512, allocations: 47.89 kB / 1.18 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9512, allocations: 4 kB / 1.18 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.9512, allocations: 11.94 kB / 1.18 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9512, allocations: 0 / 1.18 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9513, allocations: 7.922 kB / 1.18 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.9518, allocations: 299.2 kB / 1.181 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.9519, allocations: 104.8 kB / 1.181 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.9519, allocations: 8 kB / 1.181 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.9522, allocations: 15.98 kB / 1.181 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.9522, allocations: 15.92 kB / 1.181 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.9523, allocations: 8 kB / 1.181 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.9523, allocations: 117.7 kB / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9523, allocations: 0 / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003563/0.9527, allocations: 68.11 kB / 1.181 GB, free: 4.23 MB / 0.9044 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008525/0.9536, allocations: 0.8589 MB / 1.182 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.9541, allocations: 176.4 kB / 1.182 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9541, allocations: 0 / 1.182 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.9543, allocations: 93.77 kB / 1.182 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.9548, allocations: 51.95 kB / 1.182 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.9579, allocations: 2.167 MB / 1.184 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.9583, allocations: 0.7173 MB / 1.185 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.9585, allocations: 53.91 kB / 1.185 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.9586, allocations: 51.36 kB / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.9586, allocations: 0 / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.9816, allocations: 5.218 MB / 1.19 GB, free: 10.85 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/9.31, allocations: 5.828 kB / 1.19 GB, free: 10.85 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches