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.0007674/0.0007674, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007539/0.0007539, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.858/0.858, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.847e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5698/0.5699, allocations: 131.1 MB / 1.129 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.5727, allocations: 3.302 MB / 1.132 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.5728, allocations: 1.156 kB / 1.132 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.5732, allocations: 53.95 kB / 1.132 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.5735, allocations: 148.8 kB / 1.132 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.5757, allocations: 1.084 MB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.5762, allocations: 339.3 kB / 1.134 GB, free: 15.86 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.5762, allocations: 9.828 kB / 1.134 GB, free: 15.86 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.5767, allocations: 243 kB / 1.134 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.5769, allocations: 120.4 kB / 1.134 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.5769, allocations: 11.19 kB / 1.134 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.5788, allocations: 1.074 MB / 1.135 GB, free: 15.31 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.5789, allocations: 77.62 kB / 1.135 GB, free: 15.27 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.579, allocations: 80.73 kB / 1.135 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.58, allocations: 0.6717 MB / 1.136 GB, free: 15.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.58, allocations: 1.062 kB / 1.136 GB, free: 15.03 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/0.58, allocations: 0 / 1.136 GB, free: 15.03 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.58, allocations: 0 / 1.136 GB, free: 15.03 MB / 1.01 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.0009967/0.581, allocations: 0.5227 MB / 1.136 GB, free: 14.63 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5811, allocations: 10.03 kB / 1.136 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006645/0.5817, allocations: 135.6 kB / 1.137 GB, free: 14.61 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.582, allocations: 159 kB / 1.137 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.582, allocations: 16.38 kB / 1.137 GB, free: 14.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.582, allocations: 20.88 kB / 1.137 GB, free: 14.44 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.5826, allocations: 0.5955 MB / 1.137 GB, free: 13.97 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5826, allocations: 0 / 1.137 GB, free: 13.97 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.5826, allocations: 12.73 kB / 1.137 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.5826, allocations: 14.75 kB / 1.137 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.5831, allocations: 318.6 kB / 1.138 GB, free: 13.88 MB / 1.01 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.001139/0.5842, allocations: 0.8986 MB / 1.139 GB, free: 13.22 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.5846, allocations: 181.8 kB / 1.139 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5847, allocations: 80.27 kB / 1.139 GB, free: 13.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.5849, allocations: 71.73 kB / 1.139 GB, free: 13.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5849, allocations: 38.34 kB / 1.139 GB, free: 13.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.5849, allocations: 1.25 kB / 1.139 GB, free: 13.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=21): time 0.0005087/0.5854, allocations: 253.5 kB / 1.139 GB, free: 13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5855, allocations: 56.81 kB / 1.139 GB, free: 12.94 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5856, allocations: 175.3 kB / 1.139 GB, free: 12.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.5856, allocations: 32.08 kB / 1.139 GB, free: 12.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.5857, allocations: 157 kB / 1.14 GB, free: 12.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.5858, allocations: 78.61 kB / 1.14 GB, free: 12.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.5858, allocations: 53.38 kB / 1.14 GB, free: 12.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.5859, allocations: 329.5 kB / 1.14 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.586, allocations: 70.34 kB / 1.14 GB, free: 12.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.5862, allocations: 158.2 kB / 1.14 GB, free: 12.08 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.5864, allocations: 247.1 kB / 1.14 GB, free: 11.92 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5864, allocations: 0 / 1.14 GB, free: 11.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003736/0.5868, allocations: 288.6 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5868, allocations: 9.531 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5868, allocations: 2.75 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5868, allocations: 4.875 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.587, allocations: 50.91 kB / 1.141 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.587, allocations: 8.625 kB / 1.141 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.5871, allocations: 26.66 kB / 1.141 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5871, allocations: 16.22 kB / 1.141 GB, free: 11.78 MB / 1.01 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.000108/0.5872, allocations: 141.4 kB / 1.141 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.5873, allocations: 23.94 kB / 1.141 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.5877, allocations: 269.4 kB / 1.141 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.5877, allocations: 4.469 kB / 1.141 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5877, allocations: 0.7031 kB / 1.141 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5877, allocations: 11.95 kB / 1.141 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.5883, allocations: 0.5192 MB / 1.142 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5883, allocations: 1.344 kB / 1.142 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.5884, allocations: 30.14 kB / 1.142 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5884, allocations: 1.125 kB / 1.142 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5884, allocations: 6.844 kB / 1.142 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5884, allocations: 6.562 kB / 1.142 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5884, allocations: 1.344 kB / 1.142 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.5888, allocations: 343.2 kB / 1.142 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.5889, allocations: 40.38 kB / 1.142 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.5889, allocations: 5.062 kB / 1.142 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.589, allocations: 20.03 kB / 1.142 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.5891, allocations: 17.31 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.5891, allocations: 14.06 kB / 1.142 GB, free: 10.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.5892, allocations: 116.9 kB / 1.142 GB, free: 10.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5892, allocations: 0 / 1.142 GB, free: 10.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004742/0.5896, allocations: 128.9 kB / 1.142 GB, free: 10.82 MB / 1.01 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.0004151/0.59, allocations: 227.5 kB / 1.143 GB, free: 10.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.5904, allocations: 201.8 kB / 1.143 GB, free: 10.64 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5904, allocations: 1.094 kB / 1.143 GB, free: 10.64 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.5905, allocations: 93.7 kB / 1.143 GB, free: 10.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.5908, allocations: 66.44 kB / 1.143 GB, free: 10.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.5915, allocations: 468.5 kB / 1.144 GB, free: 10.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.5916, allocations: 126.6 kB / 1.144 GB, free: 10.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.5917, allocations: 24.3 kB / 1.144 GB, free: 10.23 MB / 1.01 GB Notification: Performance of SimCode: time 4.2e-07/0.5917, allocations: 1.062 kB / 1.144 GB, free: 10.23 MB / 1.01 GB Notification: Performance of Templates: time 0.006381/0.5981, allocations: 4.093 MB / 1.148 GB, free: 9.816 MB / 1.01 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: 7.572860090062022]