Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.0009681/0.0009681, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001021/0.001021, allocations: 181 kB / 24.09 MB, free: 420 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 0.9482/0.9482, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.749e-05, allocations: 2.312 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1163/0.1163, allocations: 136.8 MB / 0.9456 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.135, allocations: 19.57 MB / 0.9647 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.1366, allocations: 71.44 kB / 0.9648 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1382, allocations: 1.355 MB / 0.9661 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1397, allocations: 1.062 MB / 0.9672 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.1406, allocations: 426.7 kB / 0.9676 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.142, allocations: 1.492 MB / 0.969 GB, free: 120 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008584/0.1429, allocations: 0.6687 MB / 0.9697 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.1441, allocations: 0.9628 MB / 0.9706 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1452, allocations: 1.071 MB / 0.9717 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.1453, allocations: 72 kB / 0.9717 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1455, allocations: 119.9 kB / 0.9718 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.1458, allocations: 392.2 kB / 0.9722 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.146, allocations: 330.8 kB / 0.9725 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1472, allocations: 0.9105 MB / 0.9734 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1472, allocations: 4 kB / 0.9734 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1472, allocations: 0 / 0.9734 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.1472, allocations: 0 / 0.9734 GB, free: 11.59 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001747/0.1489, allocations: 1.883 MB / 0.9753 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.149, allocations: 12.03 kB / 0.9753 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1492, allocations: 211.8 kB / 0.9755 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.1499, allocations: 0.6984 MB / 0.9762 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.15, allocations: 100.4 kB / 0.9763 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.15, allocations: 55.98 kB / 0.9763 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.1505, allocations: 400 kB / 0.9767 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1505, allocations: 3.938 kB / 0.9767 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1505, allocations: 24 kB / 0.9767 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.1505, allocations: 12 kB / 0.9767 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1508, allocations: 142.9 kB / 0.9769 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.1526, allocations: 1.755 MB / 0.9786 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.153, allocations: 262.1 kB / 0.9788 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1532, allocations: 144.2 kB / 0.979 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1532, allocations: 8.375 kB / 0.979 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1534, allocations: 219.6 kB / 0.9792 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.1534, allocations: 0 / 0.9792 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001283/0.1547, allocations: 0.8035 MB / 0.98 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.1547, allocations: 55.91 kB / 0.98 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.1559, allocations: 1.448 MB / 0.9814 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1559, allocations: 37.7 kB / 0.9815 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.1563, allocations: 0.7461 MB / 0.9822 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.1564, allocations: 178.5 kB / 0.9824 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1565, allocations: 119.9 kB / 0.9825 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1567, allocations: 0.5043 MB / 0.983 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.1567, allocations: 65.25 kB / 0.983 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1569, allocations: 222.6 kB / 0.9832 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1572, allocations: 307.4 kB / 0.9835 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1572, allocations: 3.938 kB / 0.9835 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005806/0.1577, allocations: 0.5715 MB / 0.9841 GB, free: 240 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1578, allocations: 8 kB / 0.9841 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1578, allocations: 4 kB / 0.9841 GB, free: 228 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.1581, allocations: 137.3 kB / 0.9842 GB, free: 88 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1583, allocations: 95.94 kB / 0.9843 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1604, allocations: 2.732 MB / 0.987 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1606, allocations: 71.67 kB / 0.9871 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1606, allocations: 16 kB / 0.9871 GB, free: 13.07 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.1607, allocations: 203.1 kB / 0.9873 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1609, allocations: 163 kB / 0.9874 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.1615, allocations: 0.5342 MB / 0.988 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1615, allocations: 4 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1615, allocations: 4 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1615, allocations: 3.984 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1626, allocations: 1.171 MB / 0.9891 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1626, allocations: 11.94 kB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1627, allocations: 47.97 kB / 0.9892 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.163, allocations: 143.1 kB / 0.9893 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.163, allocations: 12 kB / 0.9893 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.1652, allocations: 4.624 MB / 0.9938 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1652, allocations: 0 / 0.9938 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.1662, allocations: 0.7821 MB / 0.9946 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1663, allocations: 162.9 kB / 0.9948 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.1664, allocations: 15.98 kB / 0.9948 GB, free: 4.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1666, allocations: 23.98 kB / 0.9948 GB, free: 4.844 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/0.1667, allocations: 64.38 kB / 0.9949 GB, free: 4.781 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.1667, allocations: 15.98 kB / 0.9949 GB, free: 4.766 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005263/0.1672, allocations: 0.8454 MB / 0.9957 GB, free: 3.922 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1672, allocations: 0 / 0.9957 GB, free: 3.922 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005272/0.1677, allocations: 231.7 kB / 0.9959 GB, free: 3.695 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.1688, allocations: 466.6 kB / 0.9964 GB, free: 3.398 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006104/0.1694, allocations: 0.5471 MB / 0.9969 GB, free: 2.824 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1694, allocations: 4 kB / 0.9969 GB, free: 2.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.1698, allocations: 0.5845 MB / 0.9975 GB, free: 2.195 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.1704, allocations: 232.7 kB / 0.9977 GB, free: 1.984 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1728, allocations: 2.185 MB / 0.9998 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.173, allocations: 321.2 kB / 1 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.1732, allocations: 81.02 kB / 1 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.1735, allocations: 226.1 kB / 1 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.1735, allocations: 0 / 1 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of Templates: time 0.0175/0.191, allocations: 12.61 MB / 1.013 GB, free: 2.777 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.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.979046662338078]