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.00103/0.00103, allocations: 87.58 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.001083/0.001083, allocations: 161 kB / 23.81 MB, free: 0.7578 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.027/1.027, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.73/1.73, 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 2.063e-06/2.063e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.079e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1307/0.1308, allocations: 145 MB / 0.9287 GB, free: 11 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.1339, allocations: 3.799 MB / 0.9324 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.134, allocations: 0 / 0.9324 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.1343, allocations: 67.59 kB / 0.9325 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1346, allocations: 139.1 kB / 0.9326 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1366, allocations: 1.159 MB / 0.9337 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1369, allocations: 339.5 kB / 0.9341 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.137, allocations: 9.797 kB / 0.9341 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.1374, allocations: 259.1 kB / 0.9343 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1375, allocations: 119.6 kB / 0.9344 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1376, allocations: 12 kB / 0.9344 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.139, allocations: 1.082 MB / 0.9355 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1391, allocations: 87.78 kB / 0.9356 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.1392, allocations: 83.83 kB / 0.9357 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.1401, allocations: 0.6503 MB / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1401, allocations: 0 / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1401, allocations: 0 / 0.9363 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1401, allocations: 4 kB / 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.0009851/0.1411, allocations: 0.6203 MB / 0.9369 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1411, allocations: 8.031 kB / 0.9369 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007694/0.1419, allocations: 224.2 kB / 0.9371 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1421, allocations: 168.3 kB / 0.9373 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1421, allocations: 12.75 kB / 0.9373 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1422, allocations: 24.38 kB / 0.9373 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.1426, allocations: 0.4979 MB / 0.9378 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1426, allocations: 0 / 0.9378 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1427, allocations: 15.98 kB / 0.9378 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.1427, allocations: 15.98 kB / 0.9378 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.143, allocations: 184.8 kB / 0.938 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1441, allocations: 1.097 MB / 0.9391 GB, free: 132 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1444, allocations: 123.1 kB / 0.9392 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.1444, allocations: 43.62 kB / 0.9392 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.1447, allocations: 83.91 kB / 0.9393 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1447, allocations: 45.33 kB / 0.9394 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.1447, allocations: 0 / 0.9394 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21): time 0.0004145/0.1451, allocations: 191.1 kB / 0.9396 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1451, allocations: 51.41 kB / 0.9396 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1453, allocations: 223 kB / 0.9398 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1453, allocations: 25.7 kB / 0.9398 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.1454, allocations: 206.9 kB / 0.94 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1454, allocations: 71.39 kB / 0.9401 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.1455, allocations: 55.36 kB / 0.9402 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1456, allocations: 0.5001 MB / 0.9406 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1456, allocations: 36.27 kB / 0.9407 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1458, allocations: 164.5 kB / 0.9408 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.146, allocations: 216.4 kB / 0.941 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.146, allocations: 0 / 0.941 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003042/0.1463, allocations: 238.4 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1463, allocations: 4 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1463, allocations: 4 kB / 0.9413 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1463, allocations: 4 kB / 0.9413 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1464, allocations: 51.91 kB / 0.9413 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1464, allocations: 11.88 kB / 0.9413 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.1465, allocations: 27.78 kB / 0.9414 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1466, allocations: 16 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 9.389e-05/0.1467, allocations: 172.7 kB / 0.9415 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.1468, allocations: 43.77 kB / 0.9416 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1471, allocations: 183.7 kB / 0.9418 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1471, allocations: 3.984 kB / 0.9418 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1471, allocations: 0 / 0.9418 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1471, allocations: 7.938 kB / 0.9418 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.1475, allocations: 486.4 kB / 0.9422 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1475, allocations: 4 kB / 0.9422 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.1476, allocations: 23.98 kB / 0.9423 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1476, allocations: 4 kB / 0.9423 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1476, allocations: 12 kB / 0.9423 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.1476, allocations: 4 kB / 0.9423 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1476, allocations: 3.984 kB / 0.9423 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.148, allocations: 347.6 kB / 0.9426 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1481, allocations: 39.8 kB / 0.9427 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1481, allocations: 7.938 kB / 0.9427 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1482, allocations: 8 kB / 0.9427 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.1482, allocations: 15.97 kB / 0.9427 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1483, allocations: 12 kB / 0.9427 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.1483, allocations: 157 kB / 0.9429 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1483, allocations: 0 / 0.9429 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003554/0.1487, allocations: 131.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.0003559/0.149, allocations: 222.9 kB / 0.9432 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.1493, allocations: 138 kB / 0.9433 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1493, allocations: 0 / 0.9433 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.1493, allocations: 81.17 kB / 0.9434 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1498, allocations: 94.33 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.000844/0.1507, allocations: 427.2 kB / 0.9439 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.1507, allocations: 84.81 kB / 0.944 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.1509, allocations: 41.61 kB / 0.944 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1509, allocations: 28.48 kB / 0.944 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.1509, allocations: 0 / 0.944 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of Templates: time 0.00826/0.1592, allocations: 5.736 MB / 0.9496 GB, free: 5.07 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.255283017177135]