Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.001307/0.001307, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001421/0.001421, allocations: 211.6 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: 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_11_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_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 66.23 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2855, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1739/0.4594, allocations: 152.4 MB / 1.434 GB, free: 2.141 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.464, allocations: 3.649 MB / 1.437 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.4641, allocations: 0 / 1.437 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.4645, allocations: 79.62 kB / 1.437 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.4648, allocations: 135.2 kB / 1.437 GB, free: 14.27 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.4675, allocations: 1.053 MB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.4679, allocations: 319.7 kB / 1.439 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.468, allocations: 17.72 kB / 1.439 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.4684, allocations: 211.1 kB / 1.439 GB, free: 12.68 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.4686, allocations: 143.4 kB / 1.439 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.4686, allocations: 12 kB / 1.439 GB, free: 12.53 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.471, allocations: 1.317 MB / 1.44 GB, free: 11.21 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4711, allocations: 75.78 kB / 1.44 GB, free: 11.13 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.4713, allocations: 111.5 kB / 1.44 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4724, allocations: 0.6465 MB / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.4724, allocations: 0 / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4724, allocations: 0 / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4724, allocations: 0 / 1.441 GB, free: 10.38 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.001218/0.4736, allocations: 0.5282 MB / 1.442 GB, free: 9.816 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4737, allocations: 8.031 kB / 1.442 GB, free: 9.809 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.4748, allocations: 140.6 kB / 1.442 GB, free: 9.672 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.4751, allocations: 158.2 kB / 1.442 GB, free: 9.492 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4751, allocations: 24.3 kB / 1.442 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4752, allocations: 16 kB / 1.442 GB, free: 9.453 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.4757, allocations: 346.3 kB / 1.442 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4758, allocations: 0 / 1.442 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.4758, allocations: 8 kB / 1.442 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.4758, allocations: 15.98 kB / 1.442 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.4764, allocations: 324.1 kB / 1.443 GB, free: 8.754 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.001704/0.4781, allocations: 1.085 MB / 1.444 GB, free: 7.586 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.4786, allocations: 182.4 kB / 1.444 GB, free: 7.398 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.4787, allocations: 76.8 kB / 1.444 GB, free: 7.32 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.4791, allocations: 87.77 kB / 1.444 GB, free: 7.234 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4791, allocations: 34.56 kB / 1.444 GB, free: 7.191 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.4791, allocations: 0 / 1.444 GB, free: 7.191 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.000674/0.4798, allocations: 259.8 kB / 1.444 GB, free: 6.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4798, allocations: 51.41 kB / 1.444 GB, free: 6.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.4801, allocations: 215.1 kB / 1.445 GB, free: 6.648 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4801, allocations: 33.7 kB / 1.445 GB, free: 6.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4802, allocations: 144.2 kB / 1.445 GB, free: 6.465 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.4803, allocations: 75.33 kB / 1.445 GB, free: 6.391 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.4804, allocations: 53.7 kB / 1.445 GB, free: 6.332 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4805, allocations: 334.8 kB / 1.445 GB, free: 5.996 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4806, allocations: 68.22 kB / 1.445 GB, free: 5.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4808, allocations: 164.2 kB / 1.445 GB, free: 5.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.4812, allocations: 245.7 kB / 1.446 GB, free: 5.453 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4812, allocations: 8 kB / 1.446 GB, free: 5.445 MB / 1.139 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005268/0.4817, allocations: 277.2 kB / 1.446 GB, free: 5.168 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4817, allocations: 10.97 kB / 1.446 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4817, allocations: 4 kB / 1.446 GB, free: 5.156 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4818, allocations: 8.312 kB / 1.446 GB, free: 5.148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.482, allocations: 64.02 kB / 1.446 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.482, allocations: 11.88 kB / 1.446 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4823, allocations: 35.73 kB / 1.446 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4823, allocations: 12 kB / 1.446 GB, free: 5.027 MB / 1.139 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.0001377/0.4824, allocations: 141.7 kB / 1.446 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4826, allocations: 23.89 kB / 1.446 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.4831, allocations: 279.3 kB / 1.446 GB, free: 4.574 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4831, allocations: 11.92 kB / 1.446 GB, free: 4.562 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4831, allocations: 4 kB / 1.446 GB, free: 4.559 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4831, allocations: 0 / 1.446 GB, free: 4.559 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008333/0.4839, allocations: 0.5613 MB / 1.447 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4839, allocations: 0 / 1.447 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4841, allocations: 39.97 kB / 1.447 GB, free: 3.902 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4841, allocations: 0 / 1.447 GB, free: 3.902 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4842, allocations: 7.984 kB / 1.447 GB, free: 3.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4842, allocations: 4.062 kB / 1.447 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4842, allocations: 0 / 1.447 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.4848, allocations: 353.9 kB / 1.447 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4849, allocations: 43.8 kB / 1.447 GB, free: 3.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4849, allocations: 8 kB / 1.447 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4852, allocations: 11.98 kB / 1.447 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4852, allocations: 15.92 kB / 1.447 GB, free: 3.445 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.4853, allocations: 15.98 kB / 1.447 GB, free: 3.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001656/0.4854, allocations: 153.4 kB / 1.448 GB, free: 3.281 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.4854, allocations: 0 / 1.448 GB, free: 3.281 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006385/0.4861, allocations: 123.8 kB / 1.448 GB, free: 3.16 MB / 1.139 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.000514/0.4866, allocations: 223.3 kB / 1.448 GB, free: 2.93 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.487, allocations: 199.5 kB / 1.448 GB, free: 2.738 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.487, allocations: 4 kB / 1.448 GB, free: 2.734 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4872, allocations: 100.5 kB / 1.448 GB, free: 2.637 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.4878, allocations: 99.91 kB / 1.448 GB, free: 2.539 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4889, allocations: 0.4887 MB / 1.449 GB, free: 2.012 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4893, allocations: 0.7366 MB / 1.45 GB, free: 1.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4894, allocations: 23.44 kB / 1.45 GB, free: 1.227 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/0.4894, allocations: 0 / 1.45 GB, free: 1.227 MB / 1.139 GB Notification: Performance of Templates: time 0.007989/0.4974, allocations: 4.466 MB / 1.454 GB, free: 12.79 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.945728104008595]