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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008092/0.0008092, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009069/0.0009069, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8703/0.8703, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.217e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003769/0.003791, allocations: 3.883 MB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.0054, allocations: 2.219 MB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.005485, allocations: 4 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.005738, allocations: 51.52 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.005982, allocations: 103.3 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.007044, allocations: 0.5579 MB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.007294, allocations: 275.7 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.007333, allocations: 13.73 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.007521, allocations: 151.6 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.007625, allocations: 79.77 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.007646, allocations: 8 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/0.008148, allocations: 407 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.008218, allocations: 39.83 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.008279, allocations: 67.89 kB / 1.007 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.00872, allocations: 438.7 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.008722, allocations: 0 / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008723, allocations: 4 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.008728, allocations: 0 / 1.008 GB, free: 5.113 MB / 0.9636 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.0006125/0.00934, allocations: 455.6 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.00938, allocations: 8.75 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.009422, allocations: 50.73 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.0104, allocations: 188.6 kB / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.01064, allocations: 153.5 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.01066, allocations: 12.7 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.01069, allocations: 16.38 kB / 1.009 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.01119, allocations: 0.5101 MB / 1.009 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.0112, allocations: 192 / 1.009 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01122, allocations: 11.94 kB / 1.009 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.01124, allocations: 15.92 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.01165, allocations: 251.6 kB / 1.009 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.01266, allocations: 1.204 MB / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.01308, allocations: 186.4 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.0132, allocations: 72.75 kB / 1.011 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01322, allocations: 11.98 kB / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01325, allocations: 30.56 kB / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.01325, allocations: 0 / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0004693/0.01372, allocations: 253.3 kB / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.01375, allocations: 55.41 kB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.01385, allocations: 156.1 kB / 1.011 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.01387, allocations: 33.7 kB / 1.011 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.01393, allocations: 132.2 kB / 1.011 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.01396, allocations: 59.48 kB / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.01403, allocations: 57.88 kB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.0141, allocations: 318.8 kB / 1.012 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.01422, allocations: 72.36 kB / 1.012 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.01437, allocations: 142.3 kB / 1.012 GB, free: 388 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.01465, allocations: 214.9 kB / 1.012 GB, free: 140 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.01465, allocations: 4 kB / 1.012 GB, free: 136 kB / 0.9636 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003469/0.015, allocations: 251.2 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.01501, allocations: 8 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01502, allocations: 4 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01503, allocations: 4 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.01521, allocations: 71.88 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.01522, allocations: 12.23 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01532, allocations: 31.78 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01534, allocations: 15.98 kB / 1.013 GB, free: 15.74 MB / 0.9792 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 7.986e-05/0.01542, allocations: 125.8 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01545, allocations: 19.84 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.0158, allocations: 226.6 kB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0158, allocations: 4 kB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01581, allocations: 0 / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01581, allocations: 0 / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.016, allocations: 208.7 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.016, allocations: 7.938 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.01614, allocations: 55.89 kB / 1.013 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01614, allocations: 0 / 1.013 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01615, allocations: 4 kB / 1.013 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01615, allocations: 7.938 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01615, allocations: 0 / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.01646, allocations: 297.2 kB / 1.014 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.01651, allocations: 31.81 kB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01653, allocations: 4 kB / 1.014 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.01665, allocations: 15.98 kB / 1.014 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.01669, allocations: 19.97 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01671, allocations: 7.984 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.01677, allocations: 129.3 kB / 1.014 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01677, allocations: 0 / 1.014 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003251/0.01709, allocations: 55.94 kB / 1.014 GB, free: 14.48 MB / 0.9792 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.0008098/0.0179, allocations: 0.8644 MB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.01829, allocations: 178 kB / 1.015 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.0183, allocations: 0 / 1.015 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01841, allocations: 84.47 kB / 1.015 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01875, allocations: 51.89 kB / 1.015 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.02091, allocations: 2.131 MB / 1.017 GB, free: 11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.421e-05/0.02098, allocations: 107.1 kB / 1.017 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.02118, allocations: 53.92 kB / 1.017 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/0.02127, allocations: 44.48 kB / 1.017 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of SimCode: time 6.41e-07/0.02127, allocations: 0 / 1.017 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.03923, allocations: 6.175 MB / 1.023 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/6.496, allocations: 7.594 kB / 1.023 GB, free: 4.875 MB / 0.9792 GB " [Timeout remaining time 293] (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/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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.483204304240644]