Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009492/0.0009492, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009956/0.0009956, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9456/0.9456, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.969e-05, allocations: 6.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1258/0.1258, allocations: 142.3 MB / 0.9265 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.1288, allocations: 3.762 MB / 0.9302 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1289, allocations: 3.938 kB / 0.9302 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1293, allocations: 67.59 kB / 0.9303 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1296, allocations: 151.1 kB / 0.9304 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1318, allocations: 1.151 MB / 0.9315 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.1321, allocations: 347.5 kB / 0.9319 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.1322, allocations: 9.812 kB / 0.9319 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.1326, allocations: 263 kB / 0.9321 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1327, allocations: 115.7 kB / 0.9322 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1328, allocations: 8 kB / 0.9323 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1343, allocations: 1.094 MB / 0.9333 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1344, allocations: 79.8 kB / 0.9334 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.1344, allocations: 79.88 kB / 0.9335 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1356, allocations: 0.6542 MB / 0.9341 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1356, allocations: 0 / 0.9341 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1356, allocations: 0 / 0.9341 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1356, allocations: 0 / 0.9341 GB, free: 5.617 MB / 0.8855 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.0008064/0.1364, allocations: 0.6241 MB / 0.9347 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1364, allocations: 8.031 kB / 0.9347 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.1372, allocations: 224.2 kB / 0.9349 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1374, allocations: 164.3 kB / 0.9351 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1374, allocations: 16.75 kB / 0.9351 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1374, allocations: 24.38 kB / 0.9351 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1378, allocations: 493.8 kB / 0.9356 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1378, allocations: 0 / 0.9356 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1378, allocations: 8 kB / 0.9356 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.1378, allocations: 12 kB / 0.9356 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.138, allocations: 154.3 kB / 0.9358 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.139, allocations: 1.066 MB / 0.9368 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1392, allocations: 111 kB / 0.9369 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.1392, allocations: 43.66 kB / 0.937 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.1394, allocations: 79.89 kB / 0.937 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1394, allocations: 41.39 kB / 0.9371 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.1394, allocations: 3.938 kB / 0.9371 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0003428/0.1398, allocations: 167 kB / 0.9372 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1398, allocations: 55.41 kB / 0.9373 GB, free: 2.121 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1399, allocations: 219.5 kB / 0.9375 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1399, allocations: 33.7 kB / 0.9375 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.14, allocations: 206.9 kB / 0.9377 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.14, allocations: 75.36 kB / 0.9378 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.1401, allocations: 55.34 kB / 0.9379 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1402, allocations: 0.5001 MB / 0.9383 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.1403, allocations: 24.27 kB / 0.9384 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.1404, allocations: 160.9 kB / 0.9385 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1405, allocations: 196.8 kB / 0.9387 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1405, allocations: 0 / 0.9387 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002637/0.1408, allocations: 214.3 kB / 0.9389 GB, free: 304 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1408, allocations: 11.98 kB / 0.9389 GB, free: 292 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1408, allocations: 4 kB / 0.9389 GB, free: 288 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1408, allocations: 7.984 kB / 0.9389 GB, free: 280 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1409, allocations: 51.92 kB / 0.939 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1409, allocations: 7.938 kB / 0.939 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.141, allocations: 31.72 kB / 0.939 GB, free: 188 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.141, allocations: 8.344 kB / 0.939 GB, free: 180 kB / 0.8855 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 9.28e-05/0.1411, allocations: 180.7 kB / 0.9392 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.1412, allocations: 35.78 kB / 0.9392 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1414, allocations: 174.8 kB / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1414, allocations: 0 / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1414, allocations: 3.828 kB / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1414, allocations: 4 kB / 0.9394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.1418, allocations: 444.9 kB / 0.9398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1418, allocations: 3.984 kB / 0.9398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.1419, allocations: 31.94 kB / 0.9399 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1419, allocations: 4.062 kB / 0.9399 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1419, allocations: 7.984 kB / 0.9399 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1419, allocations: 0 / 0.9399 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1419, allocations: 3.938 kB / 0.9399 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.1425, allocations: 333.4 kB / 0.9402 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1426, allocations: 39.78 kB / 0.9402 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1426, allocations: 8 kB / 0.9403 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1427, allocations: 8 kB / 0.9403 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.1427, allocations: 15.91 kB / 0.9403 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.1428, allocations: 16 kB / 0.9403 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.1428, allocations: 149.2 kB / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1428, allocations: 0 / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003363/0.1431, allocations: 135.7 kB / 0.9406 GB, free: 14.53 MB / 0.9011 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.0003045/0.1434, allocations: 230.8 kB / 0.9408 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1436, allocations: 121.8 kB / 0.9409 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1436, allocations: 0 / 0.9409 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.1437, allocations: 63.52 kB / 0.941 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1441, allocations: 92.66 kB / 0.941 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.1448, allocations: 417.4 kB / 0.9414 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.1448, allocations: 84.81 kB / 0.9415 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.145, allocations: 45.59 kB / 0.9416 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.1452, allocations: 178.1 kB / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of SimCode: time 8.31e-07/0.1452, allocations: 0 / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of Templates: time 0.007637/0.1528, allocations: 5.867 MB / 0.9475 GB, free: 7.484 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.122017008252442]