Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001479/0.001479, 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.001713/0.001713, allocations: 213.2 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.325/1.325, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 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 2.904/2.904, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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_latest_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_latest_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.001948/0.001948, allocations: 75.61 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1636/0.4608, allocations: 152.4 MB / 1.503 GB, free: 14.98 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.4652, allocations: 3.658 MB / 1.507 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.4654, allocations: 3.938 kB / 1.507 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.4657, allocations: 71.62 kB / 1.507 GB, free: 11.23 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.466, allocations: 139.2 kB / 1.507 GB, free: 11.1 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.4685, allocations: 1.061 MB / 1.508 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.4689, allocations: 323.7 kB / 1.508 GB, free: 9.719 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.4689, allocations: 9.75 kB / 1.508 GB, free: 9.707 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.4693, allocations: 199.1 kB / 1.508 GB, free: 9.512 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.4695, allocations: 151.4 kB / 1.508 GB, free: 9.363 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.4696, allocations: 12 kB / 1.508 GB, free: 9.352 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.4717, allocations: 1.321 MB / 1.51 GB, free: 8.027 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.712e-05/0.4718, allocations: 71.8 kB / 1.51 GB, free: 7.957 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.4719, allocations: 107.5 kB / 1.51 GB, free: 7.852 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.473, allocations: 0.6543 MB / 1.511 GB, free: 7.195 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.473, allocations: 0 / 1.511 GB, free: 7.195 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.473, allocations: 0 / 1.511 GB, free: 7.195 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.473, allocations: 0 / 1.511 GB, free: 7.195 MB / 1.201 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.001025/0.474, allocations: 0.5243 MB / 1.511 GB, free: 6.641 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4741, allocations: 15.97 kB / 1.511 GB, free: 6.625 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.4752, allocations: 128.7 kB / 1.511 GB, free: 6.5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4755, allocations: 162.3 kB / 1.511 GB, free: 6.316 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4755, allocations: 24.3 kB / 1.511 GB, free: 6.293 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.4755, allocations: 16 kB / 1.511 GB, free: 6.277 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.4761, allocations: 357.8 kB / 1.512 GB, free: 5.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4761, allocations: 0 / 1.512 GB, free: 5.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.4761, allocations: 4 kB / 1.512 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.4761, allocations: 19.98 kB / 1.512 GB, free: 5.887 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.4767, allocations: 324.1 kB / 1.512 GB, free: 5.57 MB / 1.201 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.001626/0.4783, allocations: 1.085 MB / 1.513 GB, free: 4.402 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.4788, allocations: 186.4 kB / 1.513 GB, free: 4.211 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.4789, allocations: 84.72 kB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.4793, allocations: 79.88 kB / 1.513 GB, free: 4.047 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4793, allocations: 34.56 kB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.4793, allocations: 0 / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0006465/0.4799, allocations: 263.4 kB / 1.514 GB, free: 3.742 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.48, allocations: 59.39 kB / 1.514 GB, free: 3.672 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.4802, allocations: 207.2 kB / 1.514 GB, free: 3.457 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.4802, allocations: 33.7 kB / 1.514 GB, free: 3.418 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.4803, allocations: 144.2 kB / 1.514 GB, free: 3.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.4804, allocations: 71.38 kB / 1.514 GB, free: 3.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.4805, allocations: 61.66 kB / 1.514 GB, free: 3.133 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4806, allocations: 330.8 kB / 1.515 GB, free: 2.801 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4807, allocations: 76.22 kB / 1.515 GB, free: 2.727 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4809, allocations: 155.7 kB / 1.515 GB, free: 2.535 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.4813, allocations: 245.7 kB / 1.515 GB, free: 2.258 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4813, allocations: 0 / 1.515 GB, free: 2.258 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005132/0.4818, allocations: 285.2 kB / 1.515 GB, free: 1.973 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4818, allocations: 8 kB / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4818, allocations: 0 / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4818, allocations: 11.94 kB / 1.515 GB, free: 1.953 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.4821, allocations: 59.91 kB / 1.515 GB, free: 1.895 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4821, allocations: 7.938 kB / 1.515 GB, free: 1.887 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4823, allocations: 32.11 kB / 1.515 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.4823, allocations: 16.11 kB / 1.515 GB, free: 1.84 MB / 1.201 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.0001368/0.4825, allocations: 149.6 kB / 1.516 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4826, allocations: 27.83 kB / 1.516 GB, free: 1.656 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.4831, allocations: 275.3 kB / 1.516 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.4831, allocations: 11.92 kB / 1.516 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4831, allocations: 0 / 1.516 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4831, allocations: 0 / 1.516 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.4838, allocations: 0.5625 MB / 1.516 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4838, allocations: 0 / 1.516 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.484, allocations: 35.97 kB / 1.516 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.484, allocations: 4 kB / 1.516 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.484, allocations: 0 / 1.516 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.484, allocations: 4 kB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.484, allocations: 0 / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.4845, allocations: 360.9 kB / 1.517 GB, free: 340 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.4846, allocations: 43.77 kB / 1.517 GB, free: 296 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.4847, allocations: 4 kB / 1.517 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4849, allocations: 17.7 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.485, allocations: 11.98 kB / 1.517 GB, free: 264 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.485, allocations: 15.98 kB / 1.517 GB, free: 248 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001342/0.4851, allocations: 149.5 kB / 1.517 GB, free: 100 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4851, allocations: 3.938 kB / 1.517 GB, free: 96 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004765/0.4856, allocations: 123.8 kB / 1.517 GB, free: 15.97 MB / 1.217 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.0003969/0.486, allocations: 222.8 kB / 1.517 GB, free: 15.74 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4863, allocations: 199.7 kB / 1.518 GB, free: 15.55 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4864, allocations: 0 / 1.518 GB, free: 15.55 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.4865, allocations: 101.7 kB / 1.518 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.4871, allocations: 100.7 kB / 1.518 GB, free: 15.35 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.4879, allocations: 0.4886 MB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4882, allocations: 0.7328 MB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.4883, allocations: 31.42 kB / 1.519 GB, free: 14.04 MB / 1.217 GB Notification: Performance of SimCode: time 3.2e-07/0.4883, allocations: 0 / 1.519 GB, free: 14.04 MB / 1.217 GB Notification: Performance of Templates: time 0.006783/0.4951, allocations: 4.466 MB / 1.523 GB, free: 9.594 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.935627325001406]