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.001567/0.001567, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001799/0.001799, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.271/3.271, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 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.002244/0.002244, allocations: 68.02 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1631/0.4956, allocations: 131.1 MB / 1.493 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.4999, allocations: 3.3 MB / 1.496 GB, free: 6.727 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.5, allocations: 4 kB / 1.496 GB, free: 6.723 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.5003, allocations: 55.66 kB / 1.496 GB, free: 6.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.5006, allocations: 135.2 kB / 1.496 GB, free: 6.535 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.503, allocations: 1.057 MB / 1.497 GB, free: 5.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.5034, allocations: 323.7 kB / 1.497 GB, free: 5.156 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.5034, allocations: 9.75 kB / 1.497 GB, free: 5.145 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.5038, allocations: 199.2 kB / 1.498 GB, free: 4.949 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.504, allocations: 135.5 kB / 1.498 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.504, allocations: 8 kB / 1.498 GB, free: 4.809 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.5057, allocations: 1.052 MB / 1.499 GB, free: 3.754 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.5058, allocations: 71.8 kB / 1.499 GB, free: 3.684 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.506, allocations: 99.58 kB / 1.499 GB, free: 3.586 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009243/0.5069, allocations: 0.6192 MB / 1.5 GB, free: 2.965 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5069, allocations: 3.984 kB / 1.5 GB, free: 2.961 MB / 1.186 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5069, allocations: 0 / 1.5 GB, free: 2.961 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5069, allocations: 0 / 1.5 GB, free: 2.961 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.001058/0.5079, allocations: 0.5242 MB / 1.5 GB, free: 2.406 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.508, allocations: 12.03 kB / 1.5 GB, free: 2.395 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5092, allocations: 136.7 kB / 1.5 GB, free: 2.262 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.5094, allocations: 158.3 kB / 1.5 GB, free: 2.082 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.5095, allocations: 16.31 kB / 1.5 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.5095, allocations: 24 kB / 1.5 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.5102, allocations: 0.5928 MB / 1.501 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5102, allocations: 0 / 1.501 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5103, allocations: 11.98 kB / 1.501 GB, free: 1.359 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.5103, allocations: 15.98 kB / 1.501 GB, free: 1.344 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.5109, allocations: 316.1 kB / 1.501 GB, free: 1.035 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.001569/0.5124, allocations: 0.9074 MB / 1.502 GB, free: 84 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.5129, allocations: 178.4 kB / 1.502 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.5131, allocations: 80.8 kB / 1.502 GB, free: 15.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.5134, allocations: 79.92 kB / 1.502 GB, free: 15.74 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5135, allocations: 42.44 kB / 1.503 GB, free: 15.69 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.5135, allocations: 0 / 1.503 GB, free: 15.69 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.0006691/0.5141, allocations: 254.5 kB / 1.503 GB, free: 15.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5142, allocations: 55.41 kB / 1.503 GB, free: 15.37 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5143, allocations: 164 kB / 1.503 GB, free: 15.2 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.5144, allocations: 33.69 kB / 1.503 GB, free: 15.16 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.5145, allocations: 156.2 kB / 1.503 GB, free: 15 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.5145, allocations: 83.25 kB / 1.503 GB, free: 14.92 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.5146, allocations: 53.66 kB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5148, allocations: 322.8 kB / 1.504 GB, free: 14.54 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.5149, allocations: 72.22 kB / 1.504 GB, free: 14.46 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.5151, allocations: 167.6 kB / 1.504 GB, free: 14.26 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.5155, allocations: 249.3 kB / 1.504 GB, free: 13.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5155, allocations: 3.938 kB / 1.504 GB, free: 13.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005336/0.516, allocations: 283.2 kB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.516, allocations: 4 kB / 1.504 GB, free: 13.69 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.516, allocations: 8 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.516, allocations: 7.938 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.5163, allocations: 51.92 kB / 1.504 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5163, allocations: 7.938 kB / 1.504 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.5165, allocations: 31.77 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.5165, allocations: 12 kB / 1.504 GB, free: 13.57 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.0001596/0.5167, allocations: 139.3 kB / 1.505 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5168, allocations: 27.83 kB / 1.505 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.5173, allocations: 268.9 kB / 1.505 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5173, allocations: 4 kB / 1.505 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5173, allocations: 0 / 1.505 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5173, allocations: 0 / 1.505 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.518, allocations: 0.5173 MB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.518, allocations: 3.938 kB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.5182, allocations: 27.92 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5182, allocations: 4.062 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5182, allocations: 8 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5182, allocations: 7.984 kB / 1.505 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5182, allocations: 3.984 kB / 1.505 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.5188, allocations: 341 kB / 1.506 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.5189, allocations: 43.73 kB / 1.506 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.5189, allocations: 8 kB / 1.506 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.5192, allocations: 5.547 kB / 1.506 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.5192, allocations: 19.97 kB / 1.506 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5192, allocations: 12 kB / 1.506 GB, free: 12.08 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.5193, allocations: 120.9 kB / 1.506 GB, free: 11.96 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5193, allocations: 0 / 1.506 GB, free: 11.96 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004717/0.5198, allocations: 135.6 kB / 1.506 GB, free: 11.83 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.0004042/0.5202, allocations: 222.7 kB / 1.506 GB, free: 11.6 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.5206, allocations: 203.6 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5206, allocations: 4 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.5208, allocations: 103.8 kB / 1.507 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5212, allocations: 55.02 kB / 1.507 GB, free: 11.25 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.5221, allocations: 496.4 kB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.5222, allocations: 128.4 kB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.5223, allocations: 23.44 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of SimCode: time 3.01e-07/0.5223, allocations: 0 / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of Templates: time 0.00676/0.529, allocations: 4.068 MB / 1.511 GB, free: 6.496 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/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: 11.96525797713548]