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.00207/0.00207, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002468/0.002468, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.367/3.367, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 65.47 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3951, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1878/0.5829, allocations: 131.1 MB / 1.492 GB, free: 9.922 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00453/0.5874, allocations: 3.298 MB / 1.495 GB, free: 6.613 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.5875, allocations: 0 / 1.495 GB, free: 6.613 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.5879, allocations: 55.66 kB / 1.495 GB, free: 6.559 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.5882, allocations: 143.2 kB / 1.495 GB, free: 6.418 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.5909, allocations: 1.055 MB / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.5913, allocations: 315.7 kB / 1.497 GB, free: 5.047 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.5914, allocations: 5.75 kB / 1.497 GB, free: 5.039 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.5918, allocations: 207.1 kB / 1.497 GB, free: 4.836 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.5921, allocations: 131.5 kB / 1.497 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.5921, allocations: 12 kB / 1.497 GB, free: 4.695 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.594, allocations: 1.048 MB / 1.498 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.5941, allocations: 79.72 kB / 1.498 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.5942, allocations: 99.58 kB / 1.498 GB, free: 3.469 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5953, allocations: 0.6153 MB / 1.499 GB, free: 2.852 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5953, allocations: 0 / 1.499 GB, free: 2.852 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5953, allocations: 0 / 1.499 GB, free: 2.852 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5953, allocations: 0 / 1.499 GB, free: 2.852 MB / 1.186 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.001197/0.5965, allocations: 0.5243 MB / 1.499 GB, free: 2.297 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5965, allocations: 8.031 kB / 1.499 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.5977, allocations: 132.7 kB / 1.499 GB, free: 2.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.598, allocations: 170.2 kB / 1.5 GB, free: 1.969 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.598, allocations: 24.31 kB / 1.5 GB, free: 1.945 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.598, allocations: 16 kB / 1.5 GB, free: 1.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.5988, allocations: 0.5928 MB / 1.5 GB, free: 1.258 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5988, allocations: 4 kB / 1.5 GB, free: 1.254 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.5988, allocations: 4 kB / 1.5 GB, free: 1.25 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.5989, allocations: 16 kB / 1.5 GB, free: 1.234 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.5994, allocations: 320.1 kB / 1.5 GB, free: 0.9219 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.001679/0.6011, allocations: 0.9035 MB / 1.501 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.6016, allocations: 186.3 kB / 1.502 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6018, allocations: 76.8 kB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/0.6021, allocations: 75.94 kB / 1.502 GB, free: 15.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.6022, allocations: 42.5 kB / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.6022, allocations: 0 / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0006961/0.6029, allocations: 258.3 kB / 1.502 GB, free: 15.32 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.6029, allocations: 55.45 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6031, allocations: 174 kB / 1.502 GB, free: 15.08 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.6031, allocations: 33.7 kB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.6033, allocations: 152.2 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.6034, allocations: 75.31 kB / 1.502 GB, free: 14.81 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.6035, allocations: 57.66 kB / 1.503 GB, free: 14.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6036, allocations: 326.8 kB / 1.503 GB, free: 14.42 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.6038, allocations: 68.22 kB / 1.503 GB, free: 14.35 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.604, allocations: 155.7 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.6044, allocations: 246.9 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6044, allocations: 7.938 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005544/0.605, allocations: 275.1 kB / 1.504 GB, free: 13.6 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.605, allocations: 8 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.605, allocations: 3.938 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.605, allocations: 7.938 kB / 1.504 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.6053, allocations: 59.91 kB / 1.504 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6053, allocations: 7.938 kB / 1.504 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.6055, allocations: 27.78 kB / 1.504 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.6055, allocations: 8.375 kB / 1.504 GB, free: 13.48 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.0001484/0.6057, allocations: 142.9 kB / 1.504 GB, free: 13.33 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.6058, allocations: 23.89 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.6063, allocations: 276.9 kB / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.6063, allocations: 0 / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6063, allocations: 8 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6064, allocations: 3.984 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.6071, allocations: 0.5246 MB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6072, allocations: 3.938 kB / 1.505 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.6073, allocations: 28.05 kB / 1.505 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6073, allocations: 4 kB / 1.505 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.6073, allocations: 8 kB / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6073, allocations: 0 / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6073, allocations: 0 / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.6079, allocations: 348.9 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.608, allocations: 39.75 kB / 1.505 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.6081, allocations: 4 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.6083, allocations: 15.98 kB / 1.505 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.6083, allocations: 11.97 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.6084, allocations: 20 kB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000105/0.6085, allocations: 113.5 kB / 1.505 GB, free: 11.85 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6085, allocations: 0 / 1.505 GB, free: 11.85 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005322/0.609, allocations: 131.7 kB / 1.505 GB, free: 11.72 MB / 1.201 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.0004822/0.6095, allocations: 230.8 kB / 1.506 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.6099, allocations: 205.4 kB / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6099, allocations: 0 / 1.506 GB, free: 11.29 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.6101, allocations: 97.91 kB / 1.506 GB, free: 11.19 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.6106, allocations: 64.75 kB / 1.506 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.6115, allocations: 462.6 kB / 1.506 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.6116, allocations: 124.4 kB / 1.506 GB, free: 10.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.6119, allocations: 57.59 kB / 1.506 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.6119, allocations: 19.44 kB / 1.506 GB, free: 10.43 MB / 1.201 GB Notification: Performance of SimCode: time 4.61e-07/0.6119, allocations: 0 / 1.506 GB, free: 10.43 MB / 1.201 GB Notification: Performance of Templates: time 0.01057/0.6225, allocations: 4.89 MB / 1.511 GB, free: 5.621 MB / 1.201 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/jenkins/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: 9.976233381778002]