Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001039/0.001039, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001023/0.001023, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9285/0.9285, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.424/2.424, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.134e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1316/0.1316, allocations: 144.4 MB / 0.9796 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.1349, allocations: 3.826 MB / 0.9833 GB, free: 9.441 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.135, allocations: 0 / 0.9833 GB, free: 9.441 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1353, allocations: 63.61 kB / 0.9834 GB, free: 9.379 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1356, allocations: 155.1 kB / 0.9835 GB, free: 9.227 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.1377, allocations: 1.155 MB / 0.9847 GB, free: 8.066 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1381, allocations: 347.5 kB / 0.985 GB, free: 7.727 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1381, allocations: 10.47 kB / 0.985 GB, free: 7.719 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.1385, allocations: 259.1 kB / 0.9853 GB, free: 7.465 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1387, allocations: 107.7 kB / 0.9854 GB, free: 7.359 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1387, allocations: 12 kB / 0.9854 GB, free: 7.348 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.1403, allocations: 1.075 MB / 0.9864 GB, free: 6.27 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1404, allocations: 75.73 kB / 0.9865 GB, free: 6.195 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.1405, allocations: 83.88 kB / 0.9866 GB, free: 6.113 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009904/0.1415, allocations: 0.6387 MB / 0.9872 GB, free: 5.473 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1415, allocations: 0 / 0.9872 GB, free: 5.473 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1415, allocations: 3.984 kB / 0.9872 GB, free: 5.469 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1415, allocations: 0 / 0.9872 GB, free: 5.469 MB / 0.948 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.0006982/0.1422, allocations: 0.4914 MB / 0.9877 GB, free: 4.953 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1422, allocations: 12.62 kB / 0.9877 GB, free: 4.941 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.1429, allocations: 244.2 kB / 0.9879 GB, free: 4.703 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1431, allocations: 149.6 kB / 0.9881 GB, free: 4.531 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1431, allocations: 12.75 kB / 0.9881 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1432, allocations: 28.31 kB / 0.9881 GB, free: 4.492 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1435, allocations: 482.5 kB / 0.9886 GB, free: 3.934 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1435, allocations: 0 / 0.9886 GB, free: 3.934 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1436, allocations: 12 kB / 0.9886 GB, free: 3.922 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.1436, allocations: 19.92 kB / 0.9886 GB, free: 3.902 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1438, allocations: 141.1 kB / 0.9887 GB, free: 3.766 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.1448, allocations: 0.7761 MB / 0.9895 GB, free: 2.957 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.145, allocations: 154.9 kB / 0.9896 GB, free: 2.793 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.145, allocations: 39 kB / 0.9897 GB, free: 2.754 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.1452, allocations: 67.94 kB / 0.9897 GB, free: 2.688 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1452, allocations: 42.5 kB / 0.9898 GB, free: 2.637 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.1452, allocations: 0 / 0.9898 GB, free: 2.637 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.000293/0.1455, allocations: 141.4 kB / 0.9899 GB, free: 2.492 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.1456, allocations: 55.41 kB / 0.99 GB, free: 2.426 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.1457, allocations: 164.6 kB / 0.9901 GB, free: 2.254 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1457, allocations: 29.7 kB / 0.9902 GB, free: 2.219 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1457, allocations: 152.1 kB / 0.9903 GB, free: 2.062 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1458, allocations: 75.38 kB / 0.9904 GB, free: 1.988 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1458, allocations: 49.67 kB / 0.9904 GB, free: 1.934 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.1459, allocations: 330.7 kB / 0.9907 GB, free: 1.602 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.1459, allocations: 27.09 kB / 0.9908 GB, free: 1.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.146, allocations: 124.7 kB / 0.9909 GB, free: 1.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1462, allocations: 183.1 kB / 0.9911 GB, free: 1.188 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1462, allocations: 0 / 0.9911 GB, free: 1.188 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002226/0.1464, allocations: 198.4 kB / 0.9912 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1464, allocations: 8 kB / 0.9913 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1464, allocations: 4 kB / 0.9913 GB, free: 0.9727 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1464, allocations: 4 kB / 0.9913 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1465, allocations: 51.92 kB / 0.9913 GB, free: 0.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1466, allocations: 12.3 kB / 0.9913 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.1466, allocations: 27.78 kB / 0.9913 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1467, allocations: 16 kB / 0.9914 GB, free: 0.8633 MB / 0.948 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 7.86e-05/0.1467, allocations: 128.5 kB / 0.9915 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.1468, allocations: 35.84 kB / 0.9915 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.147, allocations: 150.8 kB / 0.9917 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.147, allocations: 0 / 0.9917 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.147, allocations: 0 / 0.9917 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.147, allocations: 7.984 kB / 0.9917 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1473, allocations: 389.9 kB / 0.992 GB, free: 120 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1473, allocations: 0 / 0.992 GB, free: 120 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1474, allocations: 31.98 kB / 0.9921 GB, free: 88 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1474, allocations: 0 / 0.9921 GB, free: 88 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1474, allocations: 4 kB / 0.9921 GB, free: 84 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1474, allocations: 4 kB / 0.9921 GB, free: 80 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1474, allocations: 4 kB / 0.9921 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1477, allocations: 308.8 kB / 0.9924 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1477, allocations: 39.81 kB / 0.9924 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1477, allocations: 4 kB / 0.9924 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.1478, allocations: 12.03 kB / 0.9924 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.1479, allocations: 15.97 kB / 0.9924 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1479, allocations: 8 kB / 0.9925 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.1479, allocations: 38.88 kB / 0.9925 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1479, allocations: 0 / 0.9925 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003054/0.1482, allocations: 135.6 kB / 0.9926 GB, free: 15.5 MB / 0.9636 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.0002981/0.1485, allocations: 204 kB / 0.9928 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1487, allocations: 116.9 kB / 0.9929 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1487, allocations: 0 / 0.9929 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.1487, allocations: 56.77 kB / 0.993 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.149, allocations: 93.16 kB / 0.9931 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.1497, allocations: 431.5 kB / 0.9935 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.1498, allocations: 92.75 kB / 0.9936 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.1499, allocations: 37.61 kB / 0.9936 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.1501, allocations: 143.2 kB / 0.9937 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.1501, allocations: 0 / 0.9937 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of Templates: time 0.007656/0.1577, allocations: 5.829 MB / 0.9994 GB, free: 8.551 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.527134680654854]