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.0009524/0.0009524, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001258/0.001258, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.772/1.772, allocations: 359 MB / 0.6063 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.483e-06/1.483e-06, allocations: 0 / 0.7883 GB, free: 11.08 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.687e-05, allocations: 5.859 kB / 0.7883 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1374/0.1374, allocations: 142.3 MB / 0.9273 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.1411, allocations: 3.77 MB / 0.931 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1412, allocations: 3.938 kB / 0.931 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1415, allocations: 59.66 kB / 0.931 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1418, allocations: 147 kB / 0.9312 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.1439, allocations: 1.151 MB / 0.9323 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1442, allocations: 339.5 kB / 0.9326 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.1442, allocations: 17.8 kB / 0.9326 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.1446, allocations: 263 kB / 0.9329 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1447, allocations: 119.7 kB / 0.933 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1447, allocations: 8 kB / 0.933 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1461, allocations: 1.09 MB / 0.9341 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1462, allocations: 79.78 kB / 0.9341 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.1463, allocations: 83.88 kB / 0.9342 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.1472, allocations: 0.6348 MB / 0.9348 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1472, allocations: 7.984 kB / 0.9348 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1472, allocations: 3.938 kB / 0.9348 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1473, allocations: 0 / 0.9348 GB, free: 4.543 MB / 0.8386 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.0007913/0.148, allocations: 0.6199 MB / 0.9355 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1481, allocations: 8.031 kB / 0.9355 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.149, allocations: 232.1 kB / 0.9357 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1492, allocations: 164.3 kB / 0.9358 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1493, allocations: 16.69 kB / 0.9359 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1493, allocations: 24.38 kB / 0.9359 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1496, allocations: 485.8 kB / 0.9363 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1496, allocations: 0 / 0.9363 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1497, allocations: 19.98 kB / 0.9364 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.1497, allocations: 12 kB / 0.9364 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1499, allocations: 154.3 kB / 0.9365 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1508, allocations: 1.062 MB / 0.9376 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.151, allocations: 111 kB / 0.9377 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.151, allocations: 47.64 kB / 0.9377 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.1512, allocations: 71.95 kB / 0.9378 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1512, allocations: 41.38 kB / 0.9378 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.1512, allocations: 112 / 0.9378 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003299/0.1516, allocations: 177.2 kB / 0.938 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1516, allocations: 51.41 kB / 0.938 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1517, allocations: 219.4 kB / 0.9382 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1517, allocations: 29.7 kB / 0.9383 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.1518, allocations: 202.9 kB / 0.9385 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1518, allocations: 75.31 kB / 0.9385 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.1519, allocations: 67.28 kB / 0.9386 GB, free: 432 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.152, allocations: 0.4923 MB / 0.9391 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.1521, allocations: 28.25 kB / 0.9391 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.1522, allocations: 156.4 kB / 0.9393 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1523, allocations: 197.5 kB / 0.9394 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1523, allocations: 0 / 0.9394 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002606/0.1526, allocations: 215.5 kB / 0.9397 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1526, allocations: 12.03 kB / 0.9397 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1526, allocations: 4 kB / 0.9397 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1526, allocations: 4 kB / 0.9397 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1527, allocations: 47.92 kB / 0.9397 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1527, allocations: 11.92 kB / 0.9397 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.1528, allocations: 31.72 kB / 0.9398 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1529, allocations: 12 kB / 0.9398 GB, free: 15.1 MB / 0.8542 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.0001079/0.153, allocations: 172.5 kB / 0.9399 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.1531, allocations: 31.83 kB / 0.94 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1533, allocations: 183.4 kB / 0.9401 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1533, allocations: 0 / 0.9401 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1533, allocations: 4 kB / 0.9401 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1533, allocations: 0 / 0.9401 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1537, allocations: 453.7 kB / 0.9406 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1537, allocations: 0 / 0.9406 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.1538, allocations: 27.92 kB / 0.9406 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1538, allocations: 4 kB / 0.9406 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1538, allocations: 4 kB / 0.9406 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1538, allocations: 4 kB / 0.9406 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1538, allocations: 8 kB / 0.9406 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1541, allocations: 336.2 kB / 0.9409 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1542, allocations: 35.81 kB / 0.941 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1542, allocations: 0 / 0.941 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1543, allocations: 12 kB / 0.941 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1544, allocations: 19.91 kB / 0.941 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1544, allocations: 8 kB / 0.941 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.1544, allocations: 151.7 kB / 0.9412 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1544, allocations: 0 / 0.9412 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003727/0.1548, allocations: 135.7 kB / 0.9413 GB, free: 13.46 MB / 0.8542 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.0004027/0.1552, allocations: 234.8 kB / 0.9415 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1554, allocations: 122 kB / 0.9416 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1554, allocations: 4.75 kB / 0.9416 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.1555, allocations: 65.94 kB / 0.9417 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1559, allocations: 92.47 kB / 0.9418 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.1567, allocations: 429.4 kB / 0.9422 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1572, allocations: 80.83 kB / 0.9423 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.1573, allocations: 41.61 kB / 0.9423 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.1575, allocations: 174.1 kB / 0.9425 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.1575, allocations: 0 / 0.9425 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.009193/0.1667, allocations: 5.937 MB / 0.9483 GB, free: 6.355 MB / 0.8542 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.411237430293113]