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.000976/0.000976, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009229/0.0009229, allocations: 170 kB / 24.86 MB, free: 9.289 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.9207/0.9207, allocations: 177.1 MB / 205.3 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.844/1.844, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.433e-06/1.433e-06, allocations: 0 / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.092e-05, allocations: 7.219 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1212/0.1212, allocations: 136.8 MB / 0.9464 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.1381, allocations: 19.58 MB / 0.9655 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1394, allocations: 75.38 kB / 0.9656 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.1409, allocations: 1.355 MB / 0.9669 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.1421, allocations: 1.054 MB / 0.9679 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.1428, allocations: 418.7 kB / 0.9683 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1438, allocations: 1.504 MB / 0.9698 GB, free: 120 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.1444, allocations: 0.6687 MB / 0.9705 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.1452, allocations: 0.9667 MB / 0.9714 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.146, allocations: 1.067 MB / 0.9724 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.146, allocations: 76 kB / 0.9725 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1462, allocations: 119.9 kB / 0.9726 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1464, allocations: 392.2 kB / 0.973 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1467, allocations: 326.9 kB / 0.9733 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0009298/0.1476, allocations: 0.9183 MB / 0.9742 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1476, allocations: 0 / 0.9742 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1476, allocations: 3.938 kB / 0.9742 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1476, allocations: 0 / 0.9742 GB, free: 11.58 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.001564/0.1492, allocations: 1.879 MB / 0.9761 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1492, allocations: 8.031 kB / 0.9761 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.1494, allocations: 215.8 kB / 0.9763 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.15, allocations: 0.6945 MB / 0.9769 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.1501, allocations: 104.3 kB / 0.977 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.1502, allocations: 56 kB / 0.9771 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.1506, allocations: 392 kB / 0.9775 GB, free: 8.121 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1506, allocations: 4 kB / 0.9775 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.1507, allocations: 20 kB / 0.9775 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1507, allocations: 12 kB / 0.9775 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1509, allocations: 150.7 kB / 0.9776 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.1527, allocations: 1.752 MB / 0.9794 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.153, allocations: 268.5 kB / 0.9796 GB, free: 5.859 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1532, allocations: 136.3 kB / 0.9797 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1532, allocations: 12.38 kB / 0.9798 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1535, allocations: 219.5 kB / 0.98 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.1535, allocations: 0 / 0.98 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001533/0.155, allocations: 0.7957 MB / 0.9807 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1551, allocations: 67.83 kB / 0.9808 GB, free: 4.598 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.156, allocations: 1.444 MB / 0.9822 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.156, allocations: 37.7 kB / 0.9823 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.1564, allocations: 0.7461 MB / 0.983 GB, free: 2.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1565, allocations: 186.5 kB / 0.9832 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1566, allocations: 112 kB / 0.9833 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1567, allocations: 0.5004 MB / 0.9838 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.1568, allocations: 73.25 kB / 0.9838 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.157, allocations: 214.7 kB / 0.984 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1572, allocations: 311.3 kB / 0.9843 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1572, allocations: 3.938 kB / 0.9843 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005865/0.1578, allocations: 0.57 MB / 0.9849 GB, free: 240 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1579, allocations: 8 kB / 0.9849 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1579, allocations: 4 kB / 0.9849 GB, free: 228 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.1581, allocations: 129.2 kB / 0.985 GB, free: 96 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1584, allocations: 103.9 kB / 0.9851 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.1604, allocations: 2.737 MB / 0.9878 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1606, allocations: 63.66 kB / 0.9879 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1606, allocations: 20.53 kB / 0.9879 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.0001782/0.1608, allocations: 191.1 kB / 0.9881 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1609, allocations: 167 kB / 0.9882 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.1615, allocations: 0.5342 MB / 0.9887 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1615, allocations: 11.98 kB / 0.9887 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1615, allocations: 3.938 kB / 0.9888 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1615, allocations: 0 / 0.9888 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.1627, allocations: 1.179 MB / 0.9899 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1627, allocations: 0 / 0.9899 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1628, allocations: 51.91 kB / 0.99 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.163, allocations: 136.5 kB / 0.9901 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1631, allocations: 15.98 kB / 0.9901 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.1656, allocations: 4.623 MB / 0.9946 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1656, allocations: 0 / 0.9946 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.1664, allocations: 0.7822 MB / 0.9954 GB, free: 5.047 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.1666, allocations: 162.9 kB / 0.9955 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.1666, allocations: 12 kB / 0.9955 GB, free: 4.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1668, allocations: 27.97 kB / 0.9956 GB, free: 4.848 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.1669, allocations: 64.33 kB / 0.9956 GB, free: 4.785 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.1669, allocations: 15.98 kB / 0.9956 GB, free: 4.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005378/0.1675, allocations: 0.8376 MB / 0.9965 GB, free: 3.934 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1675, allocations: 4 kB / 0.9965 GB, free: 3.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000505/0.168, allocations: 231.7 kB / 0.9967 GB, free: 3.703 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.0009533/0.1689, allocations: 465.2 kB / 0.9971 GB, free: 3.414 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006312/0.1696, allocations: 0.5509 MB / 0.9977 GB, free: 2.836 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1696, allocations: 0 / 0.9977 GB, free: 2.836 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.17, allocations: 0.585 MB / 0.9982 GB, free: 2.211 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.1706, allocations: 239.7 kB / 0.9985 GB, free: 1.988 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.1729, allocations: 2.181 MB / 1.001 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1731, allocations: 317.3 kB / 1.001 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.1733, allocations: 85.02 kB / 1.001 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.1736, allocations: 222.1 kB / 1.001 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.1736, allocations: 0 / 1.001 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of Templates: time 0.0171/0.1907, allocations: 12.81 MB / 1.014 GB, free: 2.578 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: 6.074125536251813]