Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 187.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.012/3.012, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties")
translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 68.14 kB / 1.137 GB, free: 12.19 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.244, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2163/1.461, allocations: 147.9 MB / 1.451 GB, free: 6.629 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.005227/1.466, allocations: 3.601 MB / 1.455 GB, free: 4.117 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/1.466, allocations: 4.969 kB / 1.455 GB, free: 4.113 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004176/1.466, allocations: 69.08 kB / 1.455 GB, free: 4.082 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004562/1.467, allocations: 133.8 kB / 1.455 GB, free: 4.004 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003257/1.47, allocations: 1.063 MB / 1.456 GB, free: 3.477 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.000551/1.471, allocations: 317.4 kB / 1.456 GB, free: 3.344 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/1.471, allocations: 9.234 kB / 1.456 GB, free: 3.344 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/1.471, allocations: 199.1 kB / 1.457 GB, free: 3.262 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/1.471, allocations: 147.3 kB / 1.457 GB, free: 3.199 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.471, allocations: 10.91 kB / 1.457 GB, free: 3.199 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00216/1.474, allocations: 1.05 MB / 1.458 GB, free: 2.797 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001302/1.474, allocations: 70.45 kB / 1.458 GB, free: 2.77 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001486/1.474, allocations: 109.5 kB / 1.458 GB, free: 2.719 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.001288/1.475, allocations: 0.6092 MB / 1.458 GB, free: 2.523 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.475, allocations: 0 / 1.458 GB, free: 2.523 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.964e-06/1.475, allocations: 1.062 kB / 1.458 GB, free: 2.523 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 6.853e-06/1.475, allocations: 0 / 1.458 GB, free: 2.523 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.001239/1.476, allocations: 0.5223 MB / 1.459 GB, free: 2.121 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.476, allocations: 9.766 kB / 1.459 GB, free: 2.121 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.478, allocations: 126.9 kB / 1.459 GB, free: 2.102 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/1.478, allocations: 172.1 kB / 1.459 GB, free: 1.941 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.478, allocations: 16.84 kB / 1.459 GB, free: 1.934 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/1.478, allocations: 15.5 kB / 1.459 GB, free: 1.93 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/1.479, allocations: 341.7 kB / 1.46 GB, free: 1.777 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.479, allocations: 0 / 1.46 GB, free: 1.777 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/1.479, allocations: 7.375 kB / 1.46 GB, free: 1.773 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/1.479, allocations: 21.97 kB / 1.46 GB, free: 1.766 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/1.479, allocations: 325.4 kB / 1.46 GB, free: 1.688 MB / 1.139 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/1.481, allocations: 1.076 MB / 1.461 GB, free: 0.8398 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/1.482, allocations: 180.5 kB / 1.461 GB, free: 0.7852 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/1.482, allocations: 79.05 kB / 1.461 GB, free: 0.7578 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/1.482, allocations: 76.77 kB / 1.461 GB, free: 0.7461 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.482, allocations: 49.34 kB / 1.461 GB, free: 0.6914 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=21): time 1.613e-06/1.482, allocations: 0 / 1.461 GB, free: 0.6914 MB / 1.139 GB
Notification: Performance of matching and sorting (n=21): time 0.0007447/1.483, allocations: 264.5 kB / 1.462 GB, free: 0.6016 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.483, allocations: 53.69 kB / 1.462 GB, free: 0.5391 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/1.484, allocations: 202 kB / 1.462 GB, free: 420 kB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.484, allocations: 32.52 kB / 1.462 GB, free: 384 kB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.484, allocations: 141.7 kB / 1.462 GB, free: 252 kB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/1.484, allocations: 84.3 kB / 1.462 GB, free: 184 kB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.484, allocations: 58.19 kB / 1.462 GB, free: 144 kB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001823/1.484, allocations: 329.2 kB / 1.462 GB, free: 15.82 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/1.484, allocations: 70.17 kB / 1.463 GB, free: 15.81 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/1.484, allocations: 163.6 kB / 1.463 GB, free: 15.68 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/1.485, allocations: 248.3 kB / 1.463 GB, free: 15.52 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.485, allocations: 1.219 kB / 1.463 GB, free: 15.52 MB / 1.154 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006305/1.485, allocations: 292.2 kB / 1.463 GB, free: 15.4 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.486, allocations: 5.844 kB / 1.463 GB, free: 15.4 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.486, allocations: 3.484 kB / 1.463 GB, free: 15.4 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.486, allocations: 13.47 kB / 1.463 GB, free: 15.39 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/1.486, allocations: 59.2 kB / 1.463 GB, free: 15.39 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.486, allocations: 12.83 kB / 1.463 GB, free: 15.38 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.486, allocations: 29.12 kB / 1.463 GB, free: 15.36 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.486, allocations: 19.55 kB / 1.463 GB, free: 15.35 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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 (31):
 * Single equations (assignments): 30
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0001602/1.486, allocations: 136.3 kB / 1.463 GB, free: 15.22 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.486, allocations: 27.19 kB / 1.464 GB, free: 15.21 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/1.487, allocations: 275.3 kB / 1.464 GB, free: 15.1 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.487, allocations: 7.328 kB / 1.464 GB, free: 15.1 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.487, allocations: 0.6094 kB / 1.464 GB, free: 15.1 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.487, allocations: 2.5 kB / 1.464 GB, free: 15.1 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008961/1.488, allocations: 0.5638 MB / 1.464 GB, free: 14.72 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.488, allocations: 0 / 1.464 GB, free: 14.72 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.488, allocations: 34.58 kB / 1.464 GB, free: 14.71 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.488, allocations: 1.984 kB / 1.464 GB, free: 14.71 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/1.488, allocations: 6.375 kB / 1.464 GB, free: 14.71 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.488, allocations: 3.453 kB / 1.464 GB, free: 14.71 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.488, allocations: 0 / 1.464 GB, free: 14.71 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/1.489, allocations: 352.5 kB / 1.465 GB, free: 14.5 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.489, allocations: 46.02 kB / 1.465 GB, free: 14.48 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/1.489, allocations: 13.95 kB / 1.465 GB, free: 14.47 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/1.489, allocations: 12.92 kB / 1.465 GB, free: 14.46 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/1.489, allocations: 11.86 kB / 1.465 GB, free: 14.46 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/1.489, allocations: 19.41 kB / 1.465 GB, free: 14.46 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0001619/1.489, allocations: 150.4 kB / 1.465 GB, free: 14.36 MB / 1.154 GB
Notification: Performance of sort global known variables: time 8e-08/1.489, allocations: 0 / 1.465 GB, free: 14.36 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0007085/1.49, allocations: 119.4 kB / 1.465 GB, free: 14.34 MB / 1.154 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (19):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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.0005011/1.491, allocations: 219.3 kB / 1.465 GB, free: 14.21 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0004514/1.491, allocations: 206.1 kB / 1.465 GB, free: 14.16 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.491, allocations: 0.7188 kB / 1.465 GB, free: 14.16 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.491, allocations: 103.8 kB / 1.466 GB, free: 14.13 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/1.492, allocations: 97.31 kB / 1.466 GB, free: 14.1 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.493, allocations: 472.5 kB / 1.466 GB, free: 13.83 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.493, allocations: 0.7401 MB / 1.467 GB, free: 13.12 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002713/1.494, allocations: 56.09 kB / 1.467 GB, free: 13.1 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/1.494, allocations: 24.25 kB / 1.467 GB, free: 13.1 MB / 1.154 GB
Notification: Performance of SimCode: time 8.42e-07/1.494, allocations: 0 / 1.467 GB, free: 13.1 MB / 1.154 GB
Notification: Performance of Templates: time 0.01381/1.508, allocations: 5.698 MB / 1.472 GB, free: 10.48 MB / 1.154 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirProperties.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.558554916642606]