Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.0008743/0.0008743, 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.0009114/0.0009114, 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.8672/0.8672, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.793/1.793, allocations: 377.9 MB / 0.6239 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.079e-05, allocations: 2.312 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1197/0.1197, allocations: 136.6 MB / 0.9453 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.1414, allocations: 19.46 MB / 0.9643 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1431, allocations: 71.44 kB / 0.9644 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1443, allocations: 1.172 MB / 0.9656 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.1454, allocations: 0.9412 MB / 0.9665 GB, free: 2.754 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.1461, allocations: 378.8 kB / 0.9668 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009079/0.147, allocations: 1.305 MB / 0.9681 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.1475, allocations: 0.5706 MB / 0.9687 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.1482, allocations: 0.842 MB / 0.9695 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.1489, allocations: 0.8597 MB / 0.9703 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.866e-05/0.149, allocations: 68 kB / 0.9704 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.1491, allocations: 107.9 kB / 0.9705 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.1496, allocations: 340.7 kB / 0.9708 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1498, allocations: 283.1 kB / 0.9711 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.1504, allocations: 0.7977 MB / 0.9719 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1504, allocations: 4 kB / 0.9719 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1504, allocations: 0 / 0.9719 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1504, allocations: 0 / 0.9719 GB, free: 13.21 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001334/0.1518, allocations: 1.643 MB / 0.9735 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1518, allocations: 8.031 kB / 0.9735 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.152, allocations: 180 kB / 0.9737 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.1525, allocations: 0.6014 MB / 0.9742 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.1526, allocations: 108.3 kB / 0.9743 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1526, allocations: 40 kB / 0.9744 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.153, allocations: 368.1 kB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.153, allocations: 3.984 kB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1531, allocations: 23.94 kB / 0.9748 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1531, allocations: 8 kB / 0.9748 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1533, allocations: 134.8 kB / 0.9749 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1548, allocations: 1.601 MB / 0.9765 GB, free: 8.352 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.1551, allocations: 244.1 kB / 0.9767 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1554, allocations: 156.2 kB / 0.9768 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1554, allocations: 8.328 kB / 0.9769 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1556, allocations: 186.4 kB / 0.977 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.1556, allocations: 0 / 0.977 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.001285/0.1569, allocations: 0.683 MB / 0.9777 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1569, allocations: 55.41 kB / 0.9777 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.1577, allocations: 1.225 MB / 0.9789 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1577, allocations: 33.7 kB / 0.979 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.158, allocations: 0.6463 MB / 0.9796 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.1581, allocations: 154.7 kB / 0.9798 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.1582, allocations: 108 kB / 0.9799 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1583, allocations: 0.5043 MB / 0.9804 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.1584, allocations: 57.27 kB / 0.9804 GB, free: 4.219 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1586, allocations: 233.4 kB / 0.9806 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1588, allocations: 325.9 kB / 0.9809 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1589, allocations: 0 / 0.9809 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005402/0.1594, allocations: 0.5077 MB / 0.9814 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1594, allocations: 11.98 kB / 0.9814 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1594, allocations: 4 kB / 0.9815 GB, free: 3.004 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.1597, allocations: 99.94 kB / 0.9815 GB, free: 2.902 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1598, allocations: 99.81 kB / 0.9816 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.1614, allocations: 2.563 MB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1616, allocations: 63.64 kB / 0.9842 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1616, allocations: 16 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.1618, allocations: 194.4 kB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.1623, allocations: 143.2 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.1629, allocations: 463.1 kB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1629, allocations: 8 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1629, allocations: 3.938 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1629, allocations: 0 / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1641, allocations: 1.019 MB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1641, allocations: 4 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1642, allocations: 51.91 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.1644, allocations: 115.3 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1644, allocations: 15.98 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.1666, allocations: 4.53 MB / 0.9906 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1666, allocations: 4 kB / 0.9906 GB, free: 9.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.1672, allocations: 0.6842 MB / 0.9913 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.1674, allocations: 135.1 kB / 0.9914 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.1674, allocations: 16.03 kB / 0.9914 GB, free: 8.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1676, allocations: 23.97 kB / 0.9914 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.1677, allocations: 55.84 kB / 0.9915 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.1677, allocations: 15.98 kB / 0.9915 GB, free: 8.281 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007282/0.1684, allocations: 0.7142 MB / 0.9922 GB, free: 7.562 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 0 / 0.9922 GB, free: 7.562 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000531/0.1689, allocations: 207.7 kB / 0.9924 GB, free: 7.359 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.0009108/0.1699, allocations: 451.2 kB / 0.9928 GB, free: 7.078 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.1704, allocations: 491.6 kB / 0.9933 GB, free: 6.582 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1704, allocations: 0 / 0.9933 GB, free: 6.582 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.1709, allocations: 0.5498 MB / 0.9938 GB, free: 5.992 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.1714, allocations: 205.4 kB / 0.994 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1736, allocations: 1.841 MB / 0.9958 GB, free: 3.918 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.1738, allocations: 266 kB / 0.9961 GB, free: 3.637 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.1739, allocations: 80.61 kB / 0.9962 GB, free: 3.555 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.1742, allocations: 202.1 kB / 0.9963 GB, free: 3.355 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/0.1742, allocations: 0 / 0.9963 GB, free: 3.355 MB / 0.948 GB Notification: Performance of Templates: time 0.01546/0.1896, allocations: 11.17 MB / 1.007 GB, free: 8.43 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.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.782119692768902]