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.0009167/0.0009167, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009461/0.0009461, allocations: 169 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.9167/0.9167, allocations: 177.1 MB / 204.2 MB, free: 5.301 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.833/1.833, allocations: 377.8 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.333e-06/1.333e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.425e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1128/0.1128, allocations: 139.5 MB / 0.9478 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.129, allocations: 19.83 MB / 0.9672 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.1298, allocations: 71.44 kB / 0.9672 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.1311, allocations: 1.351 MB / 0.9685 GB, free: 424 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1322, allocations: 1.062 MB / 0.9696 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.1328, allocations: 414.8 kB / 0.97 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.134, allocations: 1.5 MB / 0.9714 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.1345, allocations: 0.6687 MB / 0.9721 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.1352, allocations: 0.838 MB / 0.9729 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.1361, allocations: 1.153 MB / 0.974 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.693e-05/0.1362, allocations: 72 kB / 0.9741 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1363, allocations: 127.9 kB / 0.9742 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1366, allocations: 388.2 kB / 0.9746 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.1368, allocations: 334.8 kB / 0.9749 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.1375, allocations: 0.9184 MB / 0.9758 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1375, allocations: 0 / 0.9758 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1375, allocations: 0 / 0.9758 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1375, allocations: 4 kB / 0.9758 GB, free: 8.934 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.001864/0.1394, allocations: 1.86 MB / 0.9776 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1394, allocations: 12.02 kB / 0.9777 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.1397, allocations: 211.8 kB / 0.9779 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.1403, allocations: 0.7022 MB / 0.9785 GB, free: 6.059 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.1404, allocations: 96.41 kB / 0.9786 GB, free: 5.953 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.1404, allocations: 59.98 kB / 0.9787 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.141, allocations: 428.1 kB / 0.9791 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.141, allocations: 0 / 0.9791 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1411, allocations: 20 kB / 0.9791 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1411, allocations: 12 kB / 0.9791 GB, free: 5.426 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1414, allocations: 185.8 kB / 0.9793 GB, free: 5.246 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.1434, allocations: 2.01 MB / 0.9813 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.1439, allocations: 292.5 kB / 0.9815 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.1441, allocations: 164.3 kB / 0.9817 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1442, allocations: 12.31 kB / 0.9817 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.1444, allocations: 227.6 kB / 0.9819 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 1.734e-06/0.1444, allocations: 0 / 0.9819 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001494/0.1459, allocations: 0.8621 MB / 0.9828 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.146, allocations: 63.91 kB / 0.9828 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.147, allocations: 1.511 MB / 0.9843 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1471, allocations: 37.7 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.1477, allocations: 0.719 MB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1478, allocations: 178.5 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1479, allocations: 116 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.148, allocations: 0.5042 MB / 0.9858 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.1482, allocations: 85.8 kB / 0.9859 GB, free: 14.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1484, allocations: 234.7 kB / 0.9861 GB, free: 14.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1488, allocations: 335.7 kB / 0.9864 GB, free: 13.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1488, allocations: 4 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000717/0.1495, allocations: 0.6127 MB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1495, allocations: 11.94 kB / 0.9871 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1495, allocations: 4.344 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.1499, allocations: 141 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1501, allocations: 103.8 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.1521, allocations: 2.826 MB / 0.9901 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1523, allocations: 67.64 kB / 0.9901 GB, free: 9.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1523, allocations: 20 kB / 0.9901 GB, free: 9.738 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.0001755/0.1525, allocations: 215 kB / 0.9903 GB, free: 9.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1526, allocations: 163 kB / 0.9905 GB, free: 9.359 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.1533, allocations: 0.5655 MB / 0.9911 GB, free: 8.766 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1533, allocations: 8 kB / 0.9911 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1533, allocations: 4 kB / 0.9911 GB, free: 8.754 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.1533, allocations: 0 / 0.9911 GB, free: 8.754 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.1551, allocations: 1.429 MB / 0.9925 GB, free: 7.266 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1551, allocations: 0 / 0.9925 GB, free: 7.266 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1552, allocations: 59.91 kB / 0.9925 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.1555, allocations: 136.8 kB / 0.9926 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1556, allocations: 19.92 kB / 0.9927 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.1581, allocations: 4.741 MB / 0.9973 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1581, allocations: 0 / 0.9973 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.159, allocations: 0.8368 MB / 0.9981 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1592, allocations: 159 kB / 0.9983 GB, free: 1.047 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.1592, allocations: 19.98 kB / 0.9983 GB, free: 1.027 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1594, allocations: 27.97 kB / 0.9983 GB, free: 1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1595, allocations: 64.33 kB / 0.9984 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.1595, allocations: 23.98 kB / 0.9984 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001048/0.1606, allocations: 0.9315 MB / 0.9993 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.1606, allocations: 0 / 0.9993 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004542/0.161, allocations: 235.6 kB / 0.9995 GB, free: 15.75 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.001021/0.162, allocations: 468.3 kB / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007358/0.1628, allocations: 0.5782 MB / 1.001 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1628, allocations: 0 / 1.001 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.1633, allocations: 0.6047 MB / 1.001 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.1639, allocations: 237.8 kB / 1.001 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.1663, allocations: 2.187 MB / 1.003 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1665, allocations: 317.3 kB / 1.004 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000163/0.1667, allocations: 84.97 kB / 1.004 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.1668, allocations: 52.48 kB / 1.004 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.1668, allocations: 0 / 1.004 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Templates: time 0.01548/0.1823, allocations: 11.96 MB / 1.016 GB, free: 15.55 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: 6.166800135746598]