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.001316/0.001316, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001506/0.001506, allocations: 189 kB / 16.25 MB, free: 6.621 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.31/2.31, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5417, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00465/0.5464, allocations: 4.108 MB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.5487, allocations: 2.418 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.5488, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.549, allocations: 39.75 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.5493, allocations: 95.47 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.5503, allocations: 477.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.5506, allocations: 267.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.5507, allocations: 17.55 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.5508, allocations: 107.6 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.551, allocations: 103.6 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.551, allocations: 8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.5517, allocations: 463.1 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.5518, allocations: 43.88 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.5519, allocations: 79.67 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.5524, allocations: 421.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.5524, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5524, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5524, allocations: 7.984 kB / 1.025 GB, free: 10.04 MB / 0.7794 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.0006088/0.5531, allocations: 0.4992 MB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.5531, allocations: 8.031 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.5531, allocations: 50.73 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.5551, allocations: 184.5 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.5553, allocations: 216 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5553, allocations: 12.7 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5554, allocations: 16.38 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.5559, allocations: 312.2 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5559, allocations: 7.922 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.556, allocations: 8 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.556, allocations: 4 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.5567, allocations: 263.6 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.558, allocations: 1.381 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.5586, allocations: 194.1 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.5589, allocations: 80.84 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.5589, allocations: 4 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5589, allocations: 38.5 kB / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.5589, allocations: 0 / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007007/0.5596, allocations: 254.8 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.5597, allocations: 55.41 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5598, allocations: 156.5 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.5598, allocations: 25.7 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.5599, allocations: 128 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.5599, allocations: 67.08 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.56, allocations: 53.84 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.5601, allocations: 326.8 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.5603, allocations: 68.41 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5606, allocations: 144.1 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.561, allocations: 210.8 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.561, allocations: 4 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005398/0.5615, allocations: 249.1 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5616, allocations: 8 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5616, allocations: 4.312 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.5616, allocations: 8 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.5619, allocations: 63.89 kB / 1.03 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.562, allocations: 4 kB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5622, allocations: 35.67 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.5622, allocations: 15.94 kB / 1.03 GB, free: 4.562 MB / 0.7794 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.0001027/0.5623, allocations: 133.7 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.5624, allocations: 19.81 kB / 1.03 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.563, allocations: 224.1 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.563, allocations: 11.92 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.563, allocations: 0 / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.563, allocations: 0 / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.5633, allocations: 253.3 kB / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5633, allocations: 0 / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.5636, allocations: 39.97 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5636, allocations: 8 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.5636, allocations: 4 kB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5636, allocations: 0 / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5636, allocations: 0 / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.5641, allocations: 301.3 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.5642, allocations: 108.9 kB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.5643, allocations: 8 kB / 1.031 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.5646, allocations: 15.89 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.5646, allocations: 19.97 kB / 1.031 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.5646, allocations: 7.984 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.5647, allocations: 116.9 kB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5647, allocations: 0 / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003138/0.565, allocations: 56 kB / 1.032 GB, free: 3.164 MB / 0.7794 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.0007946/0.5658, allocations: 0.8763 MB / 1.032 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.5663, allocations: 189.6 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5663, allocations: 4 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.5665, allocations: 89.44 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.567, allocations: 56.64 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5697, allocations: 2.196 MB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5699, allocations: 0.7212 MB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.5703, allocations: 49.92 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5704, allocations: 47.42 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.5704, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5007/1.071, allocations: 5.046 MB / 1.041 GB, free: 9.922 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.071, allocations: 249.1 kB / 1.041 GB, free: 9.656 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.927, allocations: 0 / 1.041 GB, free: 9.656 MB / 0.795 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