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.001076/0.001076, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001332/0.001332, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.146/1.146, allocations: 177.1 MB / 204.5 MB, free: 5.152 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.15/2.15, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 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.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.341e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1459/0.146, allocations: 142.3 MB / 1.018 GB, free: 7.203 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1495, allocations: 3.769 MB / 1.022 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1497, allocations: 0 / 1.022 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.15, allocations: 67.58 kB / 1.022 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1502, allocations: 147.1 kB / 1.022 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.1527, allocations: 1.143 MB / 1.023 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1531, allocations: 347.5 kB / 1.024 GB, free: 1.723 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.1532, allocations: 5.812 kB / 1.024 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1536, allocations: 259.1 kB / 1.024 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1537, allocations: 119.7 kB / 1.024 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1537, allocations: 16 kB / 1.024 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.1553, allocations: 1.09 MB / 1.025 GB, free: 240 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1554, allocations: 75.8 kB / 1.025 GB, free: 164 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.1555, allocations: 87.81 kB / 1.025 GB, free: 76 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1566, allocations: 0.6425 MB / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1566, allocations: 0 / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1566, allocations: 0 / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1566, allocations: 0 / 1.026 GB, free: 15.43 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.0007149/0.1573, allocations: 0.632 MB / 1.027 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.627e-05/0.1573, allocations: 8.031 kB / 1.027 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.158, allocations: 232.2 kB / 1.027 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1583, allocations: 160.3 kB / 1.027 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1583, allocations: 12.75 kB / 1.027 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1583, allocations: 24.38 kB / 1.027 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1587, allocations: 489.8 kB / 1.027 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1587, allocations: 0 / 1.027 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1587, allocations: 12 kB / 1.027 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.1587, allocations: 12 kB / 1.027 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.1589, allocations: 154.3 kB / 1.028 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.1598, allocations: 1.055 MB / 1.029 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.16, allocations: 113.5 kB / 1.029 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1601, allocations: 43.64 kB / 1.029 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.1602, allocations: 67.95 kB / 1.029 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1603, allocations: 45.33 kB / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.1603, allocations: 0 / 1.029 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0003059/0.1606, allocations: 169.4 kB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.1606, allocations: 55.41 kB / 1.029 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1607, allocations: 220.8 kB / 1.029 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1607, allocations: 29.7 kB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.1608, allocations: 202.9 kB / 1.03 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1609, allocations: 79.34 kB / 1.03 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.1609, allocations: 59.3 kB / 1.03 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1611, allocations: 0.4962 MB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.1611, allocations: 28.25 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1612, allocations: 157.5 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1614, allocations: 204.5 kB / 1.031 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1614, allocations: 7.938 kB / 1.031 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002703/0.1616, allocations: 210.7 kB / 1.031 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1616, allocations: 8 kB / 1.031 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1617, allocations: 4 kB / 1.031 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.1617, allocations: 8 kB / 1.031 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1618, allocations: 48.3 kB / 1.031 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1618, allocations: 11.94 kB / 1.031 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.1619, allocations: 31.72 kB / 1.031 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1619, allocations: 15.98 kB / 1.031 GB, free: 9.984 MB / 0.9948 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.324e-05/0.162, allocations: 172.5 kB / 1.031 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.1621, allocations: 31.78 kB / 1.031 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1623, allocations: 183.8 kB / 1.031 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1623, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1623, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1623, allocations: 4 kB / 1.031 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1627, allocations: 450.8 kB / 1.032 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1627, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.1628, allocations: 24 kB / 1.032 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1628, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1628, allocations: 11.98 kB / 1.032 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1628, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1628, allocations: 7.938 kB / 1.032 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.163, allocations: 338.8 kB / 1.032 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1631, allocations: 39.8 kB / 1.032 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1631, allocations: 8.062 kB / 1.032 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1632, allocations: 8 kB / 1.032 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1632, allocations: 19.91 kB / 1.032 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1633, allocations: 8 kB / 1.032 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.869e-05/0.1633, allocations: 156.8 kB / 1.032 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1633, allocations: 0 / 1.032 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003208/0.1636, allocations: 127.7 kB / 1.032 GB, free: 8.344 MB / 0.9948 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.0002907/0.1639, allocations: 226.9 kB / 1.033 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1641, allocations: 129.8 kB / 1.033 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1641, allocations: 4 kB / 1.033 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1642, allocations: 63.58 kB / 1.033 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1645, allocations: 97.14 kB / 1.033 GB, free: 7.816 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.1652, allocations: 425.4 kB / 1.033 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.1653, allocations: 84.81 kB / 1.033 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.1654, allocations: 41.61 kB / 1.033 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.1656, allocations: 174.1 kB / 1.034 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.1656, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of Templates: time 0.0074/0.173, allocations: 5.942 MB / 1.039 GB, free: 1.223 MB / 0.9948 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.275050051975995]