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.001154/0.001154, 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.001216/0.001216, allocations: 169.6 kB / 24.86 MB, free: 9.285 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.9748/0.9748, allocations: 177.1 MB / 205.3 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.904/1.904, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.253e-06/1.253e-06, allocations: 0 / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.261e-05, allocations: 3.156 kB / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1374/0.1374, allocations: 136.6 MB / 0.9461 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.1637, allocations: 19.47 MB / 0.9651 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.1661, allocations: 75.44 kB / 0.9652 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.1679, allocations: 1.168 MB / 0.9663 GB, free: 3.695 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.1698, allocations: 0.9375 MB / 0.9673 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1711, allocations: 370.8 kB / 0.9676 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1729, allocations: 1.309 MB / 0.9689 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009371/0.1739, allocations: 0.5667 MB / 0.9694 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.1752, allocations: 0.8536 MB / 0.9703 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.1764, allocations: 0.8519 MB / 0.9711 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.1765, allocations: 68 kB / 0.9712 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.1767, allocations: 119.8 kB / 0.9713 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1769, allocations: 336.7 kB / 0.9716 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.1771, allocations: 283.1 kB / 0.9719 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.1778, allocations: 0.7938 MB / 0.9727 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1778, allocations: 0 / 0.9727 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1778, allocations: 0 / 0.9727 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.1778, allocations: 4 kB / 0.9727 GB, free: 13.2 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.001523/0.1794, allocations: 1.643 MB / 0.9743 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1794, allocations: 8.031 kB / 0.9743 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.1798, allocations: 184 kB / 0.9744 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.1804, allocations: 0.6052 MB / 0.975 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.1804, allocations: 96.39 kB / 0.9751 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.1805, allocations: 52 kB / 0.9752 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.1809, allocations: 364.1 kB / 0.9755 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1809, allocations: 3.938 kB / 0.9755 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.181, allocations: 16 kB / 0.9755 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.181, allocations: 8 kB / 0.9755 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1812, allocations: 134.9 kB / 0.9757 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1829, allocations: 1.601 MB / 0.9772 GB, free: 8.352 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1832, allocations: 240.6 kB / 0.9775 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1835, allocations: 164.1 kB / 0.9776 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1835, allocations: 4.328 kB / 0.9776 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1837, allocations: 182.1 kB / 0.9778 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.1837, allocations: 0 / 0.9778 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.001116/0.1848, allocations: 0.683 MB / 0.9785 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1849, allocations: 59.41 kB / 0.9785 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.1857, allocations: 1.217 MB / 0.9797 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1857, allocations: 37.7 kB / 0.9798 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.1861, allocations: 0.6502 MB / 0.9804 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.1862, allocations: 150.8 kB / 0.9805 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1863, allocations: 104 kB / 0.9806 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1864, allocations: 0.5043 MB / 0.9811 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.1865, allocations: 61.27 kB / 0.9812 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.1869, allocations: 233.4 kB / 0.9814 GB, free: 3.926 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1872, allocations: 329.6 kB / 0.9817 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1872, allocations: 0 / 0.9817 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006175/0.1879, allocations: 0.5133 MB / 0.9822 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1879, allocations: 11.94 kB / 0.9822 GB, free: 3.004 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1879, allocations: 4 kB / 0.9822 GB, free: 3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.1882, allocations: 109.6 kB / 0.9823 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1884, allocations: 91.89 kB / 0.9824 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.1899, allocations: 2.555 MB / 0.9849 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1901, allocations: 67.67 kB / 0.985 GB, free: 68 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1902, allocations: 20 kB / 0.985 GB, free: 48 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.0001922/0.1904, allocations: 194.4 kB / 0.9852 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.1904, allocations: 135.2 kB / 0.9853 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.191, allocations: 471 kB / 0.9858 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.191, allocations: 4 kB / 0.9858 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.191, allocations: 4 kB / 0.9858 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.191, allocations: 0 / 0.9858 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1921, allocations: 1.019 MB / 0.9868 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1921, allocations: 0 / 0.9868 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1922, allocations: 43.91 kB / 0.9868 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.1924, allocations: 119.3 kB / 0.9869 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1925, allocations: 11.98 kB / 0.9869 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.195, allocations: 4.536 MB / 0.9914 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.195, allocations: 4.062 kB / 0.9914 GB, free: 9.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.1957, allocations: 0.6804 MB / 0.992 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1958, allocations: 135.1 kB / 0.9922 GB, free: 8.395 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.1959, allocations: 12 kB / 0.9922 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.196, allocations: 31.97 kB / 0.9922 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.1961, allocations: 55.78 kB / 0.9923 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1962, allocations: 15.98 kB / 0.9923 GB, free: 8.281 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004943/0.1967, allocations: 0.7104 MB / 0.993 GB, free: 7.566 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1967, allocations: 0 / 0.993 GB, free: 7.566 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005281/0.1972, allocations: 207.7 kB / 0.9932 GB, free: 7.363 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.0009817/0.1982, allocations: 461.1 kB / 0.9936 GB, free: 7.074 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.1987, allocations: 493.5 kB / 0.9941 GB, free: 6.574 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1987, allocations: 0 / 0.9941 GB, free: 6.574 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.1991, allocations: 0.5507 MB / 0.9946 GB, free: 5.984 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.1997, allocations: 200.9 kB / 0.9948 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.2021, allocations: 1.835 MB / 0.9966 GB, free: 3.922 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.2023, allocations: 266 kB / 0.9969 GB, free: 3.641 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.2025, allocations: 80.66 kB / 0.9969 GB, free: 3.559 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.2027, allocations: 206.1 kB / 0.9971 GB, free: 3.355 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.2027, allocations: 4 kB / 0.9971 GB, free: 3.352 MB / 0.948 GB Notification: Performance of Templates: time 0.01547/0.2182, allocations: 11.35 MB / 1.008 GB, free: 8.238 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: 6.1610740092583]