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.001045/0.001045, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001143/0.001143, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.799/1.799, allocations: 359 MB / 0.6052 GB, free: 11 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.383e-06/1.383e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.029e-05, allocations: 9.438 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1353/0.1353, allocations: 145 MB / 0.9287 GB, free: 11 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1388, allocations: 3.793 MB / 0.9324 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1389, allocations: 0 / 0.9324 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1393, allocations: 63.58 kB / 0.9325 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1396, allocations: 147.1 kB / 0.9326 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.1421, allocations: 1.159 MB / 0.9337 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.1425, allocations: 339.5 kB / 0.9341 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.1426, allocations: 5.812 kB / 0.9341 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.143, allocations: 263 kB / 0.9343 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1432, allocations: 123.6 kB / 0.9344 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1432, allocations: 12 kB / 0.9345 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.1448, allocations: 1.086 MB / 0.9355 GB, free: 4 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.145, allocations: 83.78 kB / 0.9356 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1451, allocations: 83.83 kB / 0.9357 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1461, allocations: 0.6464 MB / 0.9363 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1461, allocations: 0 / 0.9363 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1461, allocations: 0 / 0.9363 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1461, allocations: 0 / 0.9363 GB, free: 3.188 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.0008925/0.147, allocations: 0.6203 MB / 0.9369 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1471, allocations: 12.03 kB / 0.9369 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.1478, allocations: 232.2 kB / 0.9371 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.148, allocations: 160.3 kB / 0.9373 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.148, allocations: 20.73 kB / 0.9373 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1481, allocations: 24.38 kB / 0.9373 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.1485, allocations: 0.494 MB / 0.9378 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1485, allocations: 0 / 0.9378 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1486, allocations: 8 kB / 0.9378 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.1486, allocations: 19.98 kB / 0.9379 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.1489, allocations: 184.8 kB / 0.938 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1501, allocations: 1.097 MB / 0.9391 GB, free: 132 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.1505, allocations: 123 kB / 0.9392 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1506, allocations: 47.61 kB / 0.9393 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.1509, allocations: 75.94 kB / 0.9393 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.1512, allocations: 49.31 kB / 0.9394 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=21): time 2.836e-06/0.1512, allocations: 0 / 0.9394 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21): time 0.0004932/0.1517, allocations: 185.3 kB / 0.9396 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1518, allocations: 55.41 kB / 0.9396 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1519, allocations: 220.7 kB / 0.9398 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.152, allocations: 33.7 kB / 0.9399 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1521, allocations: 206.9 kB / 0.9401 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.1521, allocations: 75.39 kB / 0.9401 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.1522, allocations: 55.36 kB / 0.9402 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1524, allocations: 0.4962 MB / 0.9407 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.717e-05/0.1525, allocations: 32.25 kB / 0.9407 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1526, allocations: 156.4 kB / 0.9408 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1529, allocations: 220.3 kB / 0.9411 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1529, allocations: 0 / 0.9411 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004893/0.1534, allocations: 234.3 kB / 0.9413 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1534, allocations: 8 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1535, allocations: 4 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.1535, allocations: 4 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1537, allocations: 55.91 kB / 0.9413 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1537, allocations: 11.88 kB / 0.9414 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1539, allocations: 27.89 kB / 0.9414 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.1539, allocations: 15.94 kB / 0.9414 GB, free: 13.57 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.0001154/0.154, allocations: 172.9 kB / 0.9416 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1542, allocations: 39.77 kB / 0.9416 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.1546, allocations: 185.2 kB / 0.9418 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1546, allocations: 4 kB / 0.9418 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1546, allocations: 0 / 0.9418 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1546, allocations: 7.922 kB / 0.9418 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.1552, allocations: 492.3 kB / 0.9423 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1552, allocations: 0 / 0.9423 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1553, allocations: 27.98 kB / 0.9423 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1553, allocations: 8.062 kB / 0.9423 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1553, allocations: 7.938 kB / 0.9423 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1553, allocations: 0 / 0.9423 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1553, allocations: 4 kB / 0.9423 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.1558, allocations: 351 kB / 0.9426 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.1558, allocations: 35.81 kB / 0.9427 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1559, allocations: 7.938 kB / 0.9427 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.156, allocations: 13.7 kB / 0.9427 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1561, allocations: 11.98 kB / 0.9427 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1561, allocations: 19.98 kB / 0.9427 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.833e-05/0.1562, allocations: 153.4 kB / 0.9429 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1562, allocations: 0 / 0.9429 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006265/0.1568, allocations: 135.7 kB / 0.943 GB, free: 11.84 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.0005806/0.1574, allocations: 218.9 kB / 0.9432 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.1578, allocations: 140.1 kB / 0.9433 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1578, allocations: 4.062 kB / 0.9433 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1579, allocations: 67.59 kB / 0.9434 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.1585, allocations: 96.45 kB / 0.9435 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1598, allocations: 425.5 kB / 0.9439 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.1598, allocations: 80.83 kB / 0.944 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.1601, allocations: 45.59 kB / 0.944 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.1601, allocations: 20.5 kB / 0.944 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of SimCode: time 9.72e-07/0.1601, allocations: 0 / 0.944 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of Templates: time 0.009781/0.1699, allocations: 5.022 MB / 0.949 GB, free: 5.793 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.557993283960968]