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.0007672/0.0007672, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009558/0.0009558, allocations: 161 kB / 24.17 MB, free: 332 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.9706/0.9706, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.795e-06/2.795e-06, allocations: 4 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.611e-05, allocations: 3.219 kB / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1365/0.1365, allocations: 138.5 MB / 0.8953 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.156, allocations: 19.73 MB / 0.9146 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.1578, allocations: 71.44 kB / 0.9146 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.159, allocations: 1.164 MB / 0.9158 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.1604, allocations: 0.9335 MB / 0.9167 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.1612, allocations: 370.9 kB / 0.917 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1624, allocations: 1.313 MB / 0.9183 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.1629, allocations: 0.5686 MB / 0.9189 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/0.1638, allocations: 0.8458 MB / 0.9197 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.1644, allocations: 0.7543 MB / 0.9204 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.1645, allocations: 64 kB / 0.9205 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1647, allocations: 108 kB / 0.9206 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.1649, allocations: 332.6 kB / 0.9209 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.1651, allocations: 291 kB / 0.9212 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009533/0.1661, allocations: 0.79 MB / 0.922 GB, free: 432 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1661, allocations: 8 kB / 0.922 GB, free: 424 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1661, allocations: 0 / 0.922 GB, free: 424 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.1661, allocations: 3.938 kB / 0.922 GB, free: 420 kB / 0.8698 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.001262/0.1673, allocations: 1.402 MB / 0.9233 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1674, allocations: 8.031 kB / 0.9233 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1675, allocations: 116.8 kB / 0.9235 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.168, allocations: 0.5554 MB / 0.924 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/0.1681, allocations: 96.39 kB / 0.9241 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.1682, allocations: 48 kB / 0.9241 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.1685, allocations: 362.4 kB / 0.9245 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1686, allocations: 3.984 kB / 0.9245 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1686, allocations: 20 kB / 0.9245 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1686, allocations: 15.94 kB / 0.9245 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.1688, allocations: 121.7 kB / 0.9246 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1702, allocations: 1.145 MB / 0.9258 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1705, allocations: 258.3 kB / 0.926 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1707, allocations: 152.5 kB / 0.9261 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1707, allocations: 8.328 kB / 0.9262 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.1709, allocations: 175.3 kB / 0.9263 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 2.185e-06/0.1709, allocations: 3.938 kB / 0.9263 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.000915/0.1718, allocations: 0.5482 MB / 0.9269 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1719, allocations: 55.41 kB / 0.9269 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.1726, allocations: 1.108 MB / 0.928 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1726, allocations: 45.7 kB / 0.928 GB, free: 10 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1728, allocations: 328.9 kB / 0.9284 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.1728, allocations: 150.8 kB / 0.9285 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.1731, allocations: 98.28 kB / 0.9286 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.1732, allocations: 325.9 kB / 0.9289 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.1732, allocations: 56.11 kB / 0.929 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1734, allocations: 188.1 kB / 0.9291 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1736, allocations: 284.6 kB / 0.9294 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1736, allocations: 3.938 kB / 0.9294 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004379/0.1741, allocations: 420.5 kB / 0.9298 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1741, allocations: 4 kB / 0.9298 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1741, allocations: 7.984 kB / 0.9298 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.1743, allocations: 101.8 kB / 0.9299 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1745, allocations: 95.83 kB / 0.93 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.1758, allocations: 1.947 MB / 0.9319 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.176, allocations: 55.72 kB / 0.932 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.176, allocations: 23.98 kB / 0.932 GB, free: 5.734 MB / 0.8855 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 {(2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.1762, allocations: 146.6 kB / 0.9321 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.1763, allocations: 83.84 kB / 0.9322 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1767, allocations: 376.3 kB / 0.9326 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1767, allocations: 4 kB / 0.9326 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1767, allocations: 11.92 kB / 0.9326 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1767, allocations: 4 kB / 0.9326 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.1776, allocations: 0.7818 MB / 0.9333 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1776, allocations: 0 / 0.9333 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1777, allocations: 43.97 kB / 0.9334 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.178, allocations: 180.2 kB / 0.9336 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.178, allocations: 11.98 kB / 0.9336 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.1798, allocations: 3.017 MB / 0.9365 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1798, allocations: 0 / 0.9365 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.1803, allocations: 0.5504 MB / 0.9371 GB, free: 284 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1804, allocations: 111.1 kB / 0.9372 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.1805, allocations: 12 kB / 0.9372 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1806, allocations: 19.98 kB / 0.9372 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.1807, allocations: 63.83 kB / 0.9373 GB, free: 76 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.1807, allocations: 11.98 kB / 0.9373 GB, free: 64 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003838/0.1811, allocations: 0.5496 MB / 0.9378 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1811, allocations: 0 / 0.9378 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000475/0.1816, allocations: 203.7 kB / 0.938 GB, free: 15.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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.001342/0.1829, allocations: 0.5876 MB / 0.9386 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.1835, allocations: 431.8 kB / 0.939 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.1835, allocations: 12 kB / 0.939 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.1838, allocations: 445.5 kB / 0.9394 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.1843, allocations: 208.2 kB / 0.9396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1866, allocations: 1.849 MB / 0.9414 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.1868, allocations: 258 kB / 0.9417 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.187, allocations: 72.69 kB / 0.9417 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.1872, allocations: 169.3 kB / 0.9419 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/0.1872, allocations: 0 / 0.9419 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of Templates: time 0.01613/0.2034, allocations: 11.03 MB / 0.9527 GB, free: 0.6875 MB / 0.9011 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.783302383031696]