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.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.001221/0.001221, allocations: 102.1 kB / 19.7 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.001313/0.001313, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.887/2.887, allocations: 0.49 GB / 0.7958 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.001886/0.001886, allocations: 64.95 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 176.1 MB / 1.327 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1703/0.4583, allocations: 152.4 MB / 1.476 GB, free: 8.559 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.4627, allocations: 3.66 MB / 1.48 GB, free: 4.887 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.4627, allocations: 0 / 1.48 GB, free: 4.887 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.4631, allocations: 63.64 kB / 1.48 GB, free: 4.824 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.4634, allocations: 139.2 kB / 1.48 GB, free: 4.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.4657, allocations: 1.051 MB / 1.481 GB, free: 3.633 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.466, allocations: 323.7 kB / 1.481 GB, free: 3.312 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.4661, allocations: 13.73 kB / 1.481 GB, free: 3.301 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.4665, allocations: 199.2 kB / 1.481 GB, free: 3.105 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.4667, allocations: 139.5 kB / 1.481 GB, free: 2.969 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.4667, allocations: 12 kB / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.4688, allocations: 1.329 MB / 1.483 GB, free: 1.625 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.4688, allocations: 79.72 kB / 1.483 GB, free: 1.547 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.469, allocations: 107.5 kB / 1.483 GB, free: 1.441 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.4699, allocations: 0.6349 MB / 1.484 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4699, allocations: 4 kB / 1.484 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4699, allocations: 0 / 1.484 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4699, allocations: 0 / 1.484 GB, free: 0.8008 MB / 1.17 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.001045/0.471, allocations: 0.5243 MB / 1.484 GB, free: 252 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.471, allocations: 12.03 kB / 1.484 GB, free: 240 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.4721, allocations: 136.7 kB / 1.484 GB, free: 104 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.4724, allocations: 174.1 kB / 1.484 GB, free: 15.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4724, allocations: 16.31 kB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.4724, allocations: 19.98 kB / 1.484 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.473, allocations: 350.3 kB / 1.485 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.473, allocations: 0 / 1.485 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.473, allocations: 8 kB / 1.485 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.473, allocations: 15.98 kB / 1.485 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.4736, allocations: 328.1 kB / 1.485 GB, free: 15.16 MB / 1.186 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.001619/0.4752, allocations: 1.077 MB / 1.486 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.4757, allocations: 178.5 kB / 1.486 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4758, allocations: 76.81 kB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003545/0.4761, allocations: 79.86 kB / 1.486 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4762, allocations: 38.47 kB / 1.487 GB, free: 13.61 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.4762, allocations: 3.938 kB / 1.487 GB, free: 13.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.0006445/0.4768, allocations: 262.7 kB / 1.487 GB, free: 13.35 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4769, allocations: 55.41 kB / 1.487 GB, free: 13.28 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.4771, allocations: 211.1 kB / 1.487 GB, free: 13.06 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4771, allocations: 33.7 kB / 1.487 GB, free: 13.02 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.4772, allocations: 140.2 kB / 1.487 GB, free: 12.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.4773, allocations: 79.31 kB / 1.487 GB, free: 12.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.4773, allocations: 49.7 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4775, allocations: 326.8 kB / 1.488 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4776, allocations: 72.22 kB / 1.488 GB, free: 12.35 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.4778, allocations: 168.1 kB / 1.488 GB, free: 12.14 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.4781, allocations: 253.1 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4781, allocations: 0 / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005054/0.4786, allocations: 281.5 kB / 1.488 GB, free: 11.58 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4787, allocations: 16.05 kB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4787, allocations: 7.938 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4787, allocations: 8.047 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.4789, allocations: 55.86 kB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.479, allocations: 4 kB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4792, allocations: 35.72 kB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.4792, allocations: 16 kB / 1.489 GB, free: 11.44 MB / 1.186 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.0001226/0.4793, allocations: 134 kB / 1.489 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4794, allocations: 31.89 kB / 1.489 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.4799, allocations: 275.3 kB / 1.489 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4799, allocations: 7.938 kB / 1.489 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4799, allocations: 0 / 1.489 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4799, allocations: 0 / 1.489 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.4806, allocations: 0.5713 MB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4806, allocations: 0 / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4808, allocations: 35.98 kB / 1.49 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4808, allocations: 4 kB / 1.49 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4808, allocations: 4 kB / 1.49 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4808, allocations: 4 kB / 1.49 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4808, allocations: 0 / 1.49 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.4814, allocations: 364.5 kB / 1.49 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4815, allocations: 43.77 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4815, allocations: 4 kB / 1.49 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.4817, allocations: 19.92 kB / 1.49 GB, free: 9.871 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.4818, allocations: 11.97 kB / 1.49 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4818, allocations: 16 kB / 1.49 GB, free: 9.844 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001246/0.4819, allocations: 145.5 kB / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.4819, allocations: 0 / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000438/0.4824, allocations: 119.8 kB / 1.49 GB, free: 9.586 MB / 1.186 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.0003849/0.4828, allocations: 230.7 kB / 1.49 GB, free: 9.348 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.4831, allocations: 200.4 kB / 1.491 GB, free: 9.152 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4831, allocations: 4.125 kB / 1.491 GB, free: 9.148 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4833, allocations: 95.8 kB / 1.491 GB, free: 9.055 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.4838, allocations: 97.78 kB / 1.491 GB, free: 8.961 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007712/0.4846, allocations: 496.4 kB / 1.491 GB, free: 8.438 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4849, allocations: 0.7406 MB / 1.492 GB, free: 7.672 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.159e-05/0.485, allocations: 23.44 kB / 1.492 GB, free: 7.652 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.485, allocations: 0 / 1.492 GB, free: 7.652 MB / 1.186 GB Notification: Performance of Templates: time 0.006825/0.4918, allocations: 4.472 MB / 1.496 GB, free: 3.211 MB / 1.186 GB " [Timeout remaining time 300] 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/jenkins1/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.897954803978791]