Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009999/0.0009999, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001103/0.001103, allocations: 169 kB / 23.02 MB, free: 1.539 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.9094/0.9094, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.022/2.022, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.716e-05, allocations: 7.531 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1607/0.1607, allocations: 139.6 MB / 1.014 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.1788, allocations: 19.83 MB / 1.034 GB, free: 6.383 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001899/0.1807, allocations: 71.44 kB / 1.034 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1822, allocations: 1.355 MB / 1.035 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1836, allocations: 1.058 MB / 1.036 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.1844, allocations: 434.6 kB / 1.037 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1859, allocations: 1.492 MB / 1.038 GB, free: 1.969 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.1867, allocations: 0.6687 MB / 1.039 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1883, allocations: 2.264 MB / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.1888, allocations: 453.4 kB / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1889, allocations: 79.92 kB / 1.041 GB, free: 14.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.1891, allocations: 131.8 kB / 1.042 GB, free: 14.37 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1894, allocations: 400.7 kB / 1.042 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1896, allocations: 347.5 kB / 1.042 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.1904, allocations: 0.9959 MB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1904, allocations: 4 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1904, allocations: 0 / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.1904, allocations: 0 / 1.043 GB, free: 12.64 MB / 1.01 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.001598/0.192, allocations: 1.906 MB / 1.045 GB, free: 10.67 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.192, allocations: 11.97 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.1923, allocations: 211.8 kB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.1932, allocations: 1.02 MB / 1.046 GB, free: 9.375 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.1933, allocations: 108.4 kB / 1.046 GB, free: 9.258 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.1934, allocations: 52 kB / 1.047 GB, free: 9.207 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.1939, allocations: 428.1 kB / 1.047 GB, free: 8.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1939, allocations: 4 kB / 1.047 GB, free: 8.766 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1939, allocations: 23.98 kB / 1.047 GB, free: 8.742 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.194, allocations: 12 kB / 1.047 GB, free: 8.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.1943, allocations: 181.8 kB / 1.047 GB, free: 8.555 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.1962, allocations: 2.01 MB / 1.049 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1967, allocations: 284.1 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.1969, allocations: 161.3 kB / 1.05 GB, free: 6.039 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.197, allocations: 16.31 kB / 1.05 GB, free: 6.023 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.1972, allocations: 223.7 kB / 1.05 GB, free: 5.793 MB / 1.01 GB Notification: Performance of pre-optimization done (n=52): time 1.833e-06/0.1972, allocations: 0 / 1.05 GB, free: 5.793 MB / 1.01 GB Notification: Performance of matching and sorting (n=52): time 0.001405/0.1986, allocations: 0.8581 MB / 1.051 GB, free: 4.922 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1987, allocations: 59.91 kB / 1.051 GB, free: 4.852 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/0.1996, allocations: 1.3 MB / 1.052 GB, free: 3.52 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1996, allocations: 41.7 kB / 1.052 GB, free: 3.473 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.2, allocations: 0.7384 MB / 1.053 GB, free: 2.723 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.2001, allocations: 170.6 kB / 1.053 GB, free: 2.555 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2002, allocations: 108 kB / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2003, allocations: 0.5042 MB / 1.053 GB, free: 1.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2005, allocations: 89.25 kB / 1.054 GB, free: 1.844 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.2007, allocations: 234.7 kB / 1.054 GB, free: 1.559 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.201, allocations: 340 kB / 1.054 GB, free: 1.176 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.201, allocations: 0 / 1.054 GB, free: 1.176 MB / 1.01 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006917/0.2017, allocations: 0.6195 MB / 1.055 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2017, allocations: 8.031 kB / 1.055 GB, free: 0.5391 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2017, allocations: 4 kB / 1.055 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.202, allocations: 143.5 kB / 1.055 GB, free: 400 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2022, allocations: 103.8 kB / 1.055 GB, free: 296 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4265/0.6287, allocations: 2.811 MB / 1.058 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.6291, allocations: 67.42 kB / 1.058 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.6292, allocations: 20.44 kB / 1.058 GB, free: 71.23 MB / 1.01 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.0002909/0.6295, allocations: 203.8 kB / 1.058 GB, free: 71.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.6296, allocations: 164.8 kB / 1.058 GB, free: 71.06 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.6303, allocations: 0.5672 MB / 1.059 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6303, allocations: 5.469 kB / 1.059 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6303, allocations: 2.562 kB / 1.059 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6303, allocations: 4.188 kB / 1.059 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.6317, allocations: 1.446 MB / 1.06 GB, free: 70.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6317, allocations: 1.125 kB / 1.06 GB, free: 70.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.6319, allocations: 52.3 kB / 1.06 GB, free: 70.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.6321, allocations: 139.5 kB / 1.06 GB, free: 70.61 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.6322, allocations: 17.75 kB / 1.06 GB, free: 70.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.6339, allocations: 4.719 MB / 1.065 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6339, allocations: 0 / 1.065 GB, free: 66.71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.6347, allocations: 0.8361 MB / 1.066 GB, free: 66.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6348, allocations: 162.7 kB / 1.066 GB, free: 66.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.6349, allocations: 16.42 kB / 1.066 GB, free: 66.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.635, allocations: 28.83 kB / 1.066 GB, free: 66.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.6351, allocations: 61.38 kB / 1.066 GB, free: 66.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6351, allocations: 18.55 kB / 1.066 GB, free: 66.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004831/0.6356, allocations: 0.7505 MB / 1.067 GB, free: 66.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6356, allocations: 0 / 1.067 GB, free: 66.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004655/0.6361, allocations: 230.6 kB / 1.067 GB, free: 66.14 MB / 1.01 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.0008973/0.637, allocations: 469.6 kB / 1.067 GB, free: 66.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006548/0.6376, allocations: 0.5831 MB / 1.068 GB, free: 65.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6376, allocations: 0 / 1.068 GB, free: 65.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.638, allocations: 0.6039 MB / 1.069 GB, free: 65.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.6386, allocations: 280.5 kB / 1.069 GB, free: 65.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.6408, allocations: 2.19 MB / 1.071 GB, free: 64.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.641, allocations: 313.5 kB / 1.071 GB, free: 64.39 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.6413, allocations: 235.5 kB / 1.071 GB, free: 64.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.6415, allocations: 126.1 kB / 1.072 GB, free: 64.36 MB / 1.01 GB Notification: Performance of SimCode: time 7.22e-07/0.6415, allocations: 0.9375 kB / 1.072 GB, free: 64.36 MB / 1.01 GB Notification: Performance of Templates: time 0.0166/0.6581, allocations: 13.64 MB / 1.085 GB, free: 62.96 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.638791018165648]