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.001072/0.001072, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00129/0.00129, allocations: 169 kB / 23.27 MB, free: 1.223 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.9736/0.9736, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.443/2.443, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.893e-06/1.893e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.5e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1314/0.1315, allocations: 142.3 MB / 1.029 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1348, allocations: 3.766 MB / 1.032 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1349, allocations: 0 / 1.032 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1353, allocations: 71.53 kB / 1.032 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1356, allocations: 147.1 kB / 1.033 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.1378, allocations: 1.15 MB / 1.034 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.1382, allocations: 343.4 kB / 1.034 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.1382, allocations: 13.8 kB / 1.034 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.1386, allocations: 255.1 kB / 1.034 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1388, allocations: 119.6 kB / 1.034 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.1388, allocations: 12 kB / 1.034 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.1406, allocations: 1.09 MB / 1.036 GB, free: 3.949 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1407, allocations: 71.8 kB / 1.036 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.1408, allocations: 83.81 kB / 1.036 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1422, allocations: 0.6465 MB / 1.036 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1422, allocations: 0 / 1.036 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1422, allocations: 0 / 1.036 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1422, allocations: 4 kB / 1.036 GB, free: 3.145 MB / 0.9948 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.0009942/0.1432, allocations: 0.6161 MB / 1.037 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1432, allocations: 8.625 kB / 1.037 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.144, allocations: 236.1 kB / 1.037 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1442, allocations: 168.3 kB / 1.037 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1442, allocations: 16.75 kB / 1.037 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1442, allocations: 20.38 kB / 1.037 GB, free: 2.027 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1446, allocations: 485.8 kB / 1.038 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1446, allocations: 3.938 kB / 1.038 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1446, allocations: 12 kB / 1.038 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.1446, allocations: 23.97 kB / 1.038 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.1449, allocations: 154.3 kB / 1.038 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.1458, allocations: 1.055 MB / 1.039 GB, free: 176 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.146, allocations: 115 kB / 1.039 GB, free: 48 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1461, allocations: 41.73 kB / 1.039 GB, free: 4 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.1463, allocations: 83.92 kB / 1.039 GB, free: 15.92 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1463, allocations: 37.39 kB / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=21): time 1.973e-06/0.1463, allocations: 0 / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=21): time 0.000353/0.1467, allocations: 169.3 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1467, allocations: 63.25 kB / 1.039 GB, free: 15.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1468, allocations: 223.5 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1469, allocations: 29.64 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/0.1469, allocations: 202.9 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.147, allocations: 71.38 kB / 1.04 GB, free: 15.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1471, allocations: 63.28 kB / 1.04 GB, free: 15.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1472, allocations: 0.4923 MB / 1.041 GB, free: 14.51 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/0.1472, allocations: 32.25 kB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1473, allocations: 157.5 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1475, allocations: 209.8 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1475, allocations: 0 / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000295/0.1478, allocations: 211.2 kB / 1.041 GB, free: 13.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1478, allocations: 8.375 kB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1478, allocations: 8 kB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1478, allocations: 4 kB / 1.041 GB, free: 13.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.148, allocations: 55.91 kB / 1.041 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.148, allocations: 4 kB / 1.041 GB, free: 13.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1481, allocations: 35.72 kB / 1.041 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1481, allocations: 8 kB / 1.041 GB, free: 13.68 MB / 1.01 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.843e-05/0.1482, allocations: 172.5 kB / 1.041 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.1483, allocations: 39.77 kB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.1486, allocations: 171.4 kB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1486, allocations: 4 kB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1486, allocations: 0 / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1486, allocations: 7.984 kB / 1.042 GB, free: 13.28 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.149, allocations: 437 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.149, allocations: 3.938 kB / 1.042 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.1491, allocations: 35.92 kB / 1.042 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1491, allocations: 0 / 1.042 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1491, allocations: 4 kB / 1.042 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1491, allocations: 0 / 1.042 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1491, allocations: 3.938 kB / 1.042 GB, free: 12.76 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.1494, allocations: 341 kB / 1.042 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.1495, allocations: 35.81 kB / 1.042 GB, free: 12.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1495, allocations: 12 kB / 1.042 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1496, allocations: 13.53 kB / 1.042 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1496, allocations: 19.84 kB / 1.042 GB, free: 12.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1496, allocations: 15.98 kB / 1.042 GB, free: 12.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.1497, allocations: 149.6 kB / 1.043 GB, free: 12.17 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1497, allocations: 0 / 1.043 GB, free: 12.17 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003939/0.1501, allocations: 135.7 kB / 1.043 GB, free: 12.04 MB / 1.01 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.000327/0.1504, allocations: 218.9 kB / 1.043 GB, free: 11.81 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1506, allocations: 127.7 kB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1506, allocations: 4 kB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.1507, allocations: 56.34 kB / 1.043 GB, free: 11.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.151, allocations: 92.45 kB / 1.043 GB, free: 11.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.1519, allocations: 425.3 kB / 1.044 GB, free: 11.08 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.152, allocations: 80.83 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.1521, allocations: 45.61 kB / 1.044 GB, free: 10.94 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.1523, allocations: 174.1 kB / 1.044 GB, free: 10.77 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.1523, allocations: 3.938 kB / 1.044 GB, free: 10.76 MB / 1.01 GB Notification: Performance of Templates: time 0.007704/0.16, allocations: 5.856 MB / 1.05 GB, free: 5 MB / 1.01 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: 6.290154806803912]