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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003441/0.003441, allocations: 68.08 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.186, allocations: 173.6 MB / 1.305 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.217/1.403, allocations: 149.6 MB / 1.452 GB, free: 4.629 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005915/1.409, allocations: 3.639 MB / 1.455 GB, free: 2.078 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/1.409, allocations: 2.031 kB / 1.455 GB, free: 2.078 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005039/1.409, allocations: 68.23 kB / 1.455 GB, free: 2.047 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005053/1.41, allocations: 137.6 kB / 1.455 GB, free: 1.965 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/1.414, allocations: 1.044 MB / 1.456 GB, free: 1.445 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/1.414, allocations: 323 kB / 1.457 GB, free: 1.309 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/1.414, allocations: 7.984 kB / 1.457 GB, free: 1.309 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/1.415, allocations: 200.1 kB / 1.457 GB, free: 1.223 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/1.415, allocations: 136.5 kB / 1.457 GB, free: 1.172 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/1.415, allocations: 10.84 kB / 1.457 GB, free: 1.172 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/1.418, allocations: 1.29 MB / 1.458 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/1.419, allocations: 67.91 kB / 1.458 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/1.419, allocations: 105.4 kB / 1.458 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/1.421, allocations: 0.6419 MB / 1.459 GB, free: 388 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/1.421, allocations: 1.984 kB / 1.459 GB, free: 388 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/1.421, allocations: 0 / 1.459 GB, free: 388 kB / 1.139 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.421, allocations: 0 / 1.459 GB, free: 388 kB / 1.139 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.001494/1.422, allocations: 0.5886 MB / 1.46 GB, free: 15.89 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.422, allocations: 10.31 kB / 1.46 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/1.423, allocations: 135.8 kB / 1.46 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/1.424, allocations: 220.7 kB / 1.46 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.424, allocations: 27.97 kB / 1.46 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/1.424, allocations: 19.97 kB / 1.46 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/1.425, allocations: 333.7 kB / 1.46 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.425, allocations: 0 / 1.46 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/1.425, allocations: 11.69 kB / 1.46 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/1.425, allocations: 17.72 kB / 1.46 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/1.425, allocations: 327.9 kB / 1.461 GB, free: 15.37 MB / 1.154 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.001925/1.427, allocations: 1.107 MB / 1.462 GB, free: 14.49 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/1.428, allocations: 179.9 kB / 1.462 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/1.428, allocations: 79.19 kB / 1.462 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/1.429, allocations: 455 kB / 1.462 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.429, allocations: 38.25 kB / 1.462 GB, free: 13.89 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 3.987e-06/1.429, allocations: 3.984 kB / 1.462 GB, free: 13.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0007805/1.429, allocations: 275.1 kB / 1.463 GB, free: 13.78 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.429, allocations: 54.64 kB / 1.463 GB, free: 13.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/1.43, allocations: 201 kB / 1.463 GB, free: 13.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/1.43, allocations: 27.88 kB / 1.463 GB, free: 13.56 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/1.43, allocations: 147.3 kB / 1.463 GB, free: 13.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/1.43, allocations: 80.09 kB / 1.463 GB, free: 13.36 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/1.43, allocations: 58.39 kB / 1.463 GB, free: 13.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.43, allocations: 332.4 kB / 1.464 GB, free: 13 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/1.43, allocations: 73.25 kB / 1.464 GB, free: 12.98 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.431, allocations: 156.2 kB / 1.464 GB, free: 12.86 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/1.431, allocations: 248.9 kB / 1.464 GB, free: 12.7 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.431, allocations: 5.25 kB / 1.464 GB, free: 12.69 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005718/1.432, allocations: 293.2 kB / 1.464 GB, free: 12.58 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.432, allocations: 6.219 kB / 1.464 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.432, allocations: 2.375 kB / 1.464 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/1.432, allocations: 9.625 kB / 1.464 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/1.432, allocations: 58.91 kB / 1.464 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.432, allocations: 4.578 kB / 1.464 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.432, allocations: 29.28 kB / 1.464 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/1.432, allocations: 11.08 kB / 1.464 GB, free: 12.55 MB / 1.154 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.000157/1.432, allocations: 140.6 kB / 1.465 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.433, allocations: 26.94 kB / 1.465 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/1.433, allocations: 275.8 kB / 1.465 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.433, allocations: 10.84 kB / 1.465 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.433, allocations: 0 / 1.465 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.433, allocations: 1.453 kB / 1.465 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/1.434, allocations: 0.5858 MB / 1.465 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.434, allocations: 5.562 kB / 1.465 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.434, allocations: 29.56 kB / 1.465 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.434, allocations: 2.016 kB / 1.465 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/1.434, allocations: 7.391 kB / 1.465 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/1.434, allocations: 8.969 kB / 1.465 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.434, allocations: 1.219 kB / 1.465 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/1.435, allocations: 351.7 kB / 1.466 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.435, allocations: 119.2 kB / 1.466 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/1.435, allocations: 2.469 kB / 1.466 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.435, allocations: 13 kB / 1.466 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/1.435, allocations: 10.25 kB / 1.466 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/1.435, allocations: 16.78 kB / 1.466 GB, free: 11.52 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001585/1.435, allocations: 156.7 kB / 1.466 GB, free: 11.41 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.435, allocations: 0 / 1.466 GB, free: 11.41 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006702/1.436, allocations: 124.1 kB / 1.466 GB, free: 11.39 MB / 1.154 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.0005312/1.437, allocations: 210.9 kB / 1.466 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004594/1.437, allocations: 206.1 kB / 1.467 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.437, allocations: 0 / 1.467 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/1.437, allocations: 92.72 kB / 1.467 GB, free: 11.2 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/1.438, allocations: 106.3 kB / 1.467 GB, free: 11.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.439, allocations: 474.8 kB / 1.467 GB, free: 10.88 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/1.439, allocations: 0.7413 MB / 1.468 GB, free: 10.18 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002762/1.44, allocations: 55.95 kB / 1.468 GB, free: 10.16 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/1.44, allocations: 24.75 kB / 1.468 GB, free: 10.15 MB / 1.154 GB Notification: Performance of SimCode: time 1.072e-06/1.44, allocations: 0 / 1.468 GB, free: 10.15 MB / 1.154 GB Notification: Performance of Templates: time 0.01371/1.453, allocations: 5.616 MB / 1.474 GB, free: 7.617 MB / 1.154 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] 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: 10.498050931841135]