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.001025/0.001025, 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.001194/0.001194, 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 1.08/1.08, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.56/2.56, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.373e-06/1.373e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.299e-05, allocations: 10.25 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1374/0.1374, allocations: 144.4 MB / 0.9797 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.1407, allocations: 3.822 MB / 0.9834 GB, free: 9.297 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1408, allocations: 7.875 kB / 0.9834 GB, free: 9.289 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1411, allocations: 67.64 kB / 0.9835 GB, free: 9.223 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1413, allocations: 151.1 kB / 0.9836 GB, free: 9.074 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.1432, allocations: 1.139 MB / 0.9848 GB, free: 7.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1435, allocations: 335.6 kB / 0.9851 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1435, allocations: 18.44 kB / 0.9851 GB, free: 7.586 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.1439, allocations: 259.1 kB / 0.9853 GB, free: 7.332 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.144, allocations: 111.7 kB / 0.9854 GB, free: 7.223 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.144, allocations: 16 kB / 0.9855 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1455, allocations: 1.09 MB / 0.9865 GB, free: 6.113 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.1456, allocations: 71.8 kB / 0.9866 GB, free: 6.043 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1457, allocations: 83.83 kB / 0.9867 GB, free: 5.961 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.1465, allocations: 0.6425 MB / 0.9873 GB, free: 5.316 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1465, allocations: 0 / 0.9873 GB, free: 5.316 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1465, allocations: 0 / 0.9873 GB, free: 5.316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1465, allocations: 0 / 0.9873 GB, free: 5.316 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.0006544/0.1472, allocations: 0.4953 MB / 0.9878 GB, free: 4.797 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1472, allocations: 12.61 kB / 0.9878 GB, free: 4.785 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.148, allocations: 244.2 kB / 0.988 GB, free: 4.547 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1481, allocations: 149.6 kB / 0.9882 GB, free: 4.375 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1481, allocations: 12.75 kB / 0.9882 GB, free: 4.363 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1482, allocations: 20.38 kB / 0.9882 GB, free: 4.344 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.1485, allocations: 486.5 kB / 0.9887 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1485, allocations: 0 / 0.9887 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1485, allocations: 12 kB / 0.9887 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.1486, allocations: 12 kB / 0.9887 GB, free: 3.758 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.1488, allocations: 153.1 kB / 0.9888 GB, free: 3.609 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.1496, allocations: 0.7839 MB / 0.9896 GB, free: 2.793 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1498, allocations: 146.9 kB / 0.9897 GB, free: 2.637 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.1498, allocations: 44.69 kB / 0.9898 GB, free: 2.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.15, allocations: 63.95 kB / 0.9898 GB, free: 2.527 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1501, allocations: 42.5 kB / 0.9899 GB, free: 2.477 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.1501, allocations: 0 / 0.9899 GB, free: 2.477 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0003024/0.1504, allocations: 133.5 kB / 0.99 GB, free: 2.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.1505, allocations: 63.39 kB / 0.9901 GB, free: 2.266 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.1506, allocations: 160.6 kB / 0.9902 GB, free: 2.098 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1506, allocations: 29.7 kB / 0.9903 GB, free: 2.062 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1507, allocations: 156.1 kB / 0.9904 GB, free: 1.902 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1507, allocations: 71.36 kB / 0.9905 GB, free: 1.832 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.1508, allocations: 53.67 kB / 0.9905 GB, free: 1.773 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.1509, allocations: 326.8 kB / 0.9908 GB, free: 1.445 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.1509, allocations: 31.09 kB / 0.9909 GB, free: 1.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.151, allocations: 116.7 kB / 0.991 GB, free: 1.258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1511, allocations: 183.1 kB / 0.9912 GB, free: 1.035 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1511, allocations: 0 / 0.9912 GB, free: 1.035 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002397/0.1514, allocations: 193.4 kB / 0.9913 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1514, allocations: 8 kB / 0.9913 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1514, allocations: 4 kB / 0.9913 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1514, allocations: 4 kB / 0.9914 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1515, allocations: 59.91 kB / 0.9914 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1515, allocations: 8.312 kB / 0.9914 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.1516, allocations: 27.84 kB / 0.9914 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1516, allocations: 8 kB / 0.9915 GB, free: 0.7188 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.472e-05/0.1517, allocations: 132.5 kB / 0.9916 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.1518, allocations: 39.84 kB / 0.9916 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.152, allocations: 154.8 kB / 0.9918 GB, free: 388 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.152, allocations: 4 kB / 0.9918 GB, free: 384 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.152, allocations: 3.938 kB / 0.9918 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.152, allocations: 0 / 0.9918 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1523, allocations: 396.8 kB / 0.9922 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1523, allocations: 4 kB / 0.9922 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.1524, allocations: 24 kB / 0.9922 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1524, allocations: 0 / 0.9922 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1524, allocations: 11.98 kB / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1524, allocations: 0 / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1524, allocations: 0 / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1527, allocations: 303.7 kB / 0.9925 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1528, allocations: 35.83 kB / 0.9925 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1528, allocations: 4 kB / 0.9925 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1529, allocations: 16.05 kB / 0.9925 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1529, allocations: 11.98 kB / 0.9925 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.1529, allocations: 11.98 kB / 0.9926 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.153, allocations: 35.83 kB / 0.9926 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.153, allocations: 0 / 0.9926 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003345/0.1533, allocations: 135.6 kB / 0.9927 GB, free: 15.35 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.0003064/0.1536, allocations: 208 kB / 0.9929 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1538, allocations: 119 kB / 0.993 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1538, allocations: 4 kB / 0.993 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.1538, allocations: 52.78 kB / 0.9931 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1541, allocations: 97.14 kB / 0.9932 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.1549, allocations: 431.6 kB / 0.9936 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.1549, allocations: 84.77 kB / 0.9937 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.1551, allocations: 45.59 kB / 0.9937 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.1553, allocations: 143.2 kB / 0.9938 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.1553, allocations: 4 kB / 0.9939 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of Templates: time 0.007525/0.1628, allocations: 5.818 MB / 0.9995 GB, free: 8.391 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 -s gbode -gbm=radauIIA3 -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.888122158125043]