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.0009699/0.0009699, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001675/0.001675, allocations: 169 kB / 24.28 MB, free: 280 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.792/1.792, allocations: 359 MB / 0.6055 GB, free: 11.04 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.774e-06/1.774e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.5e-05, allocations: 5.938 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1294/0.1294, allocations: 144.7 MB / 0.9284 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1325, allocations: 3.763 MB / 0.9321 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1326, allocations: 0 / 0.9321 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.133, allocations: 59.59 kB / 0.9322 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.1333, allocations: 135.1 kB / 0.9323 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.1356, allocations: 1.096 MB / 0.9334 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.1359, allocations: 327.5 kB / 0.9337 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.136, allocations: 9.812 kB / 0.9337 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.1364, allocations: 255 kB / 0.9339 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1366, allocations: 115.6 kB / 0.934 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1366, allocations: 12 kB / 0.934 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.138, allocations: 1.067 MB / 0.9351 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.1381, allocations: 75.78 kB / 0.9352 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.1381, allocations: 87.81 kB / 0.9352 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007953/0.1389, allocations: 0.6503 MB / 0.9359 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1389, allocations: 0 / 0.9359 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1389, allocations: 0 / 0.9359 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.139, allocations: 0 / 0.9359 GB, free: 3.961 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.000821/0.1398, allocations: 0.6242 MB / 0.9365 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1398, allocations: 16.02 kB / 0.9365 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.1406, allocations: 224.2 kB / 0.9367 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1408, allocations: 160.3 kB / 0.9369 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1409, allocations: 16.75 kB / 0.9369 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1409, allocations: 20.38 kB / 0.9369 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.1413, allocations: 0.5018 MB / 0.9374 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1413, allocations: 4 kB / 0.9374 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1414, allocations: 8 kB / 0.9374 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.1414, allocations: 15.98 kB / 0.9374 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1417, allocations: 192.8 kB / 0.9376 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1428, allocations: 1.101 MB / 0.9387 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1431, allocations: 115.1 kB / 0.9388 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1431, allocations: 51.66 kB / 0.9388 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.1434, allocations: 79.94 kB / 0.9389 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1434, allocations: 41.33 kB / 0.939 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.1434, allocations: 0 / 0.939 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0004294/0.1438, allocations: 189.3 kB / 0.9391 GB, free: 396 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1439, allocations: 55.41 kB / 0.9392 GB, free: 328 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.144, allocations: 223.4 kB / 0.9394 GB, free: 88 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.144, allocations: 25.7 kB / 0.9394 GB, free: 56 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.1441, allocations: 202.9 kB / 0.9396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1441, allocations: 75.39 kB / 0.9397 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.1442, allocations: 59.34 kB / 0.9398 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1443, allocations: 0.4962 MB / 0.9402 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.1444, allocations: 32.27 kB / 0.9403 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1445, allocations: 164.4 kB / 0.9404 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1447, allocations: 213.6 kB / 0.9406 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1447, allocations: 0 / 0.9406 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003217/0.145, allocations: 231 kB / 0.9408 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.145, allocations: 11.98 kB / 0.9409 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1451, allocations: 4 kB / 0.9409 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1451, allocations: 4 kB / 0.9409 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1452, allocations: 47.92 kB / 0.9409 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1452, allocations: 11.98 kB / 0.9409 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.1453, allocations: 31.72 kB / 0.941 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.1453, allocations: 16 kB / 0.941 GB, free: 14.34 MB / 0.9011 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.0001038/0.1454, allocations: 172.7 kB / 0.9411 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.1455, allocations: 43.78 kB / 0.9412 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1458, allocations: 185 kB / 0.9414 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1459, allocations: 4 kB / 0.9414 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1459, allocations: 0 / 0.9414 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1459, allocations: 3.938 kB / 0.9414 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1463, allocations: 494.4 kB / 0.9418 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1463, allocations: 8 kB / 0.9418 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.1464, allocations: 20 kB / 0.9419 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1464, allocations: 4 kB / 0.9419 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1464, allocations: 15.98 kB / 0.9419 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1464, allocations: 4 kB / 0.9419 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1464, allocations: 0 / 0.9419 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1467, allocations: 343 kB / 0.9422 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1468, allocations: 35.8 kB / 0.9422 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1468, allocations: 11.94 kB / 0.9423 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1469, allocations: 8 kB / 0.9423 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.147, allocations: 15.97 kB / 0.9423 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.147, allocations: 15.94 kB / 0.9423 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1471, allocations: 153 kB / 0.9424 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 4 kB / 0.9424 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003783/0.1474, allocations: 135.7 kB / 0.9426 GB, free: 12.6 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.0003598/0.1478, allocations: 226.9 kB / 0.9428 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.148, allocations: 141.4 kB / 0.9429 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.148, allocations: 0 / 0.9429 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1481, allocations: 71.59 kB / 0.943 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1485, allocations: 95.59 kB / 0.9431 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.1493, allocations: 421.5 kB / 0.9435 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.777e-05/0.1494, allocations: 84.81 kB / 0.9436 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.1495, allocations: 53.58 kB / 0.9436 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.1496, allocations: 24.5 kB / 0.9436 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/0.1496, allocations: 0 / 0.9436 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of Templates: time 0.006824/0.1564, allocations: 5.158 MB / 0.9487 GB, free: 6.41 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.481444246135652]