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.001644/0.001644, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001809/0.001809, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.374/3.374, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.002123/0.002123, allocations: 68.8 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.191/0.5748, allocations: 152.4 MB / 1.47 GB, free: 9.832 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004511/0.5793, allocations: 3.649 MB / 1.474 GB, free: 6.172 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.5794, allocations: 0 / 1.474 GB, free: 6.172 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.5797, allocations: 59.66 kB / 1.474 GB, free: 6.113 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.5801, allocations: 135.2 kB / 1.474 GB, free: 5.98 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.5825, allocations: 1.05 MB / 1.475 GB, free: 4.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.5829, allocations: 315.7 kB / 1.475 GB, free: 4.621 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.583, allocations: 17.53 kB / 1.475 GB, free: 4.602 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.5834, allocations: 203.1 kB / 1.475 GB, free: 4.402 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.5836, allocations: 139.5 kB / 1.476 GB, free: 4.266 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.5836, allocations: 12 kB / 1.476 GB, free: 4.254 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.5857, allocations: 1.297 MB / 1.477 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5858, allocations: 67.78 kB / 1.477 GB, free: 2.887 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.586, allocations: 115.5 kB / 1.477 GB, free: 2.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.587, allocations: 0.6349 MB / 1.478 GB, free: 2.137 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.587, allocations: 4 kB / 1.478 GB, free: 2.133 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.303e-06/0.587, allocations: 0 / 1.478 GB, free: 2.133 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5871, allocations: 3.938 kB / 1.478 GB, free: 2.129 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.001245/0.5883, allocations: 0.5996 MB / 1.478 GB, free: 1.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5883, allocations: 11.98 kB / 1.478 GB, free: 1.469 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5895, allocations: 136.7 kB / 1.478 GB, free: 1.336 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.5898, allocations: 232 kB / 1.479 GB, free: 1.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.5898, allocations: 20.31 kB / 1.479 GB, free: 1.051 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.5899, allocations: 16 kB / 1.479 GB, free: 1.035 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.5904, allocations: 338.3 kB / 1.479 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5905, allocations: 0 / 1.479 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.5905, allocations: 15.98 kB / 1.479 GB, free: 0.668 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.5905, allocations: 12 kB / 1.479 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.5911, allocations: 324.1 kB / 1.479 GB, free: 348 kB / 1.17 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.00174/0.5928, allocations: 1.106 MB / 1.48 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.5933, allocations: 186.4 kB / 1.48 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.5935, allocations: 76.81 kB / 1.481 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.5941, allocations: 461.4 kB / 1.481 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.5941, allocations: 42.5 kB / 1.481 GB, free: 14.28 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.5941, allocations: 0 / 1.481 GB, free: 14.28 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.0007059/0.5948, allocations: 257.4 kB / 1.481 GB, free: 14.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.5949, allocations: 55.41 kB / 1.481 GB, free: 13.96 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.5951, allocations: 211.1 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.5951, allocations: 29.7 kB / 1.482 GB, free: 13.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5953, allocations: 144.3 kB / 1.482 GB, free: 13.56 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.5953, allocations: 79.31 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.5954, allocations: 57.66 kB / 1.482 GB, free: 13.42 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5956, allocations: 330.8 kB / 1.482 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5957, allocations: 72.23 kB / 1.482 GB, free: 13.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.5959, allocations: 160.7 kB / 1.482 GB, free: 12.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.5963, allocations: 242.9 kB / 1.483 GB, free: 12.54 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5963, allocations: 0 / 1.483 GB, free: 12.54 MB / 1.186 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005327/0.5968, allocations: 289.8 kB / 1.483 GB, free: 12.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5968, allocations: 8 kB / 1.483 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5968, allocations: 0 / 1.483 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5968, allocations: 12.05 kB / 1.483 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.5971, allocations: 63.84 kB / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5971, allocations: 4 kB / 1.483 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5973, allocations: 31.73 kB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.5973, allocations: 15.94 kB / 1.483 GB, free: 12.12 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.0001422/0.5975, allocations: 145.8 kB / 1.483 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5976, allocations: 23.84 kB / 1.483 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.5981, allocations: 276.2 kB / 1.483 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5981, allocations: 7.938 kB / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5981, allocations: 0 / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5981, allocations: 3.984 kB / 1.483 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.5989, allocations: 0.5799 MB / 1.484 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5989, allocations: 8.062 kB / 1.484 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.5991, allocations: 35.91 kB / 1.484 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5991, allocations: 4 kB / 1.484 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5991, allocations: 0 / 1.484 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.5991, allocations: 7.984 kB / 1.484 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5991, allocations: 0 / 1.484 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.5997, allocations: 355.5 kB / 1.484 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.5998, allocations: 124.9 kB / 1.485 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.5999, allocations: 4 kB / 1.485 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.6001, allocations: 19.92 kB / 1.485 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6001, allocations: 11.98 kB / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.6002, allocations: 12 kB / 1.485 GB, free: 10.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001403/0.6003, allocations: 156.3 kB / 1.485 GB, free: 10.26 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6003, allocations: 4 kB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000496/0.6008, allocations: 115.8 kB / 1.485 GB, free: 10.14 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.0004326/0.6012, allocations: 222.8 kB / 1.485 GB, free: 9.91 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.6016, allocations: 199.9 kB / 1.485 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6016, allocations: 0 / 1.485 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.6018, allocations: 95.89 kB / 1.485 GB, free: 9.621 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.6024, allocations: 97.75 kB / 1.485 GB, free: 9.527 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.6032, allocations: 470.5 kB / 1.486 GB, free: 9.039 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.6037, allocations: 0.7367 MB / 1.487 GB, free: 8.277 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.6039, allocations: 66.19 kB / 1.487 GB, free: 8.215 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.604, allocations: 19.44 kB / 1.487 GB, free: 8.199 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.604, allocations: 4 kB / 1.487 GB, free: 8.195 MB / 1.186 GB Notification: Performance of Templates: time 0.01129/0.6152, allocations: 5.6 MB / 1.492 GB, free: 2.66 MB / 1.186 GB " [Timeout remaining time 299] 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: 9.82975965924561]