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.001289/0.001289, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009956/0.0009956, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9466/0.9466, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.812/1.812, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.493e-06/1.493e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.495e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1153/0.1154, allocations: 139.5 MB / 0.9478 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1318, allocations: 19.83 MB / 0.9671 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009684/0.1328, allocations: 71.44 kB / 0.9672 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.134, allocations: 1.367 MB / 0.9685 GB, free: 436 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1353, allocations: 1.054 MB / 0.9696 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1359, allocations: 418.7 kB / 0.97 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1371, allocations: 1.508 MB / 0.9714 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.1377, allocations: 0.6609 MB / 0.9721 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.1386, allocations: 0.9628 MB / 0.973 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.1394, allocations: 1.067 MB / 0.9741 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.1395, allocations: 76 kB / 0.9741 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1397, allocations: 127.9 kB / 0.9743 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1399, allocations: 396.2 kB / 0.9746 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.1401, allocations: 326.8 kB / 0.975 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.1408, allocations: 0.9183 MB / 0.9759 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1408, allocations: 0 / 0.9759 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1408, allocations: 0 / 0.9759 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.1408, allocations: 0 / 0.9759 GB, free: 8.906 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.001574/0.1424, allocations: 1.864 MB / 0.9777 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1424, allocations: 12.03 kB / 0.9777 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.1427, allocations: 207.9 kB / 0.9779 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.1433, allocations: 0.7139 MB / 0.9786 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1434, allocations: 96.41 kB / 0.9787 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.1434, allocations: 55.98 kB / 0.9787 GB, free: 5.859 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.144, allocations: 432 kB / 0.9791 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.144, allocations: 0 / 0.9791 GB, free: 5.418 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.144, allocations: 20 kB / 0.9792 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.144, allocations: 16 kB / 0.9792 GB, free: 5.383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.1444, allocations: 181.8 kB / 0.9793 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1463, allocations: 1.998 MB / 0.9813 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1468, allocations: 297.9 kB / 0.9816 GB, free: 2.852 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.147, allocations: 160.3 kB / 0.9817 GB, free: 2.691 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.147, allocations: 12.31 kB / 0.9817 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.1473, allocations: 219.7 kB / 0.982 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 1.653e-06/0.1473, allocations: 0 / 0.982 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001411/0.1487, allocations: 0.8504 MB / 0.9828 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1488, allocations: 63.89 kB / 0.9828 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1498, allocations: 1.511 MB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1498, allocations: 37.7 kB / 0.9844 GB, free: 15.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.1502, allocations: 0.719 MB / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.1503, allocations: 174.5 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1504, allocations: 112.5 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1506, allocations: 0.5042 MB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1507, allocations: 89.25 kB / 0.9859 GB, free: 14.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1509, allocations: 238.7 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.1512, allocations: 339.8 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1512, allocations: 3.938 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006954/0.1519, allocations: 0.6205 MB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.152, allocations: 4.344 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.152, allocations: 8 kB / 0.9871 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.1523, allocations: 138 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1525, allocations: 103.9 kB / 0.9873 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.1545, allocations: 2.803 MB / 0.9901 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1546, allocations: 63.64 kB / 0.9901 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.1547, allocations: 24.03 kB / 0.9901 GB, free: 9.754 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.0001819/0.1549, allocations: 210.9 kB / 0.9903 GB, free: 9.539 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.155, allocations: 163 kB / 0.9905 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/0.1556, allocations: 0.5693 MB / 0.991 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1556, allocations: 8 kB / 0.9911 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1556, allocations: 4 kB / 0.9911 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1557, allocations: 3.984 kB / 0.9911 GB, free: 8.766 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.157, allocations: 1.421 MB / 0.9925 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.157, allocations: 0 / 0.9925 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1571, allocations: 51.91 kB / 0.9925 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.1574, allocations: 141.1 kB / 0.9926 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.1574, allocations: 15.94 kB / 0.9927 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.1599, allocations: 4.713 MB / 0.9973 GB, free: 2.125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1599, allocations: 4.031 kB / 0.9973 GB, free: 2.121 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008441/0.1608, allocations: 0.8329 MB / 0.9981 GB, free: 1.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1609, allocations: 170.9 kB / 0.9982 GB, free: 1.086 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.161, allocations: 12 kB / 0.9982 GB, free: 1.074 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1611, allocations: 23.98 kB / 0.9983 GB, free: 1.051 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1612, allocations: 68.31 kB / 0.9983 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1613, allocations: 19.98 kB / 0.9984 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006946/0.162, allocations: 0.9355 MB / 0.9993 GB, free: 32 kB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.162, allocations: 3.938 kB / 0.9993 GB, free: 28 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004614/0.1624, allocations: 227.7 kB / 0.9995 GB, free: 15.8 MB / 0.9636 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.0009056/0.1633, allocations: 473 kB / 0.9999 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007236/0.1641, allocations: 0.5782 MB / 1.001 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1641, allocations: 0.6875 kB / 1.001 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.1645, allocations: 0.6002 MB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.1651, allocations: 241.9 kB / 1.001 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1675, allocations: 2.181 MB / 1.003 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1677, allocations: 313.3 kB / 1.004 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.1679, allocations: 89 kB / 1.004 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.168, allocations: 52.48 kB / 1.004 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/0.168, allocations: 0 / 1.004 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of Templates: time 0.01539/0.1834, allocations: 12.38 MB / 1.016 GB, free: 15.2 MB / 0.9792 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.911077041178942]