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.0008876/0.0008876, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009398/0.0009398, allocations: 169 kB / 23.27 MB, free: 1.223 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.9522/0.9522, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.349/2.349, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.685e-06/2.685e-06, allocations: 4 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.73e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1213/0.1213, allocations: 136.9 MB / 1.023 GB, free: 404 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.1394, allocations: 19.58 MB / 1.042 GB, free: 12.76 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.141, allocations: 71.44 kB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.1423, allocations: 1.363 MB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1436, allocations: 1.062 MB / 1.045 GB, free: 10.26 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.1443, allocations: 414.8 kB / 1.045 GB, free: 9.852 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1455, allocations: 1.5 MB / 1.047 GB, free: 8.344 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000751/0.1463, allocations: 0.6648 MB / 1.047 GB, free: 7.664 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.1482, allocations: 2.264 MB / 1.05 GB, free: 5.398 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.1487, allocations: 449.4 kB / 1.05 GB, free: 4.957 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1488, allocations: 72 kB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.149, allocations: 123.9 kB / 1.05 GB, free: 4.766 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.1492, allocations: 412.6 kB / 1.051 GB, free: 4.363 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1495, allocations: 347.5 kB / 1.051 GB, free: 4.023 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008334/0.1503, allocations: 1.008 MB / 1.052 GB, free: 3.012 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1504, allocations: 0 / 1.052 GB, free: 3.012 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1504, allocations: 0 / 1.052 GB, free: 3.012 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.1504, allocations: 0 / 1.052 GB, free: 3.012 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.001689/0.1521, allocations: 1.925 MB / 1.054 GB, free: 1.027 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1521, allocations: 8.625 kB / 1.054 GB, free: 1.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1523, allocations: 207.8 kB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4729/0.6252, allocations: 1.006 MB / 1.055 GB, free: 66.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.6254, allocations: 101.4 kB / 1.055 GB, free: 66.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.6255, allocations: 51.78 kB / 1.055 GB, free: 66.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.6262, allocations: 398.3 kB / 1.056 GB, free: 66.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.6262, allocations: 10.14 kB / 1.056 GB, free: 66.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.6263, allocations: 26.5 kB / 1.056 GB, free: 66.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.6263, allocations: 10.84 kB / 1.056 GB, free: 66.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.6266, allocations: 142.3 kB / 1.056 GB, free: 66.2 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.6292, allocations: 1.761 MB / 1.057 GB, free: 65.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.6297, allocations: 254.9 kB / 1.058 GB, free: 65.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.63, allocations: 138.9 kB / 1.058 GB, free: 65.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.63, allocations: 13.5 kB / 1.058 GB, free: 65.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.6303, allocations: 211.8 kB / 1.058 GB, free: 65.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=52): time 3.527e-06/0.6303, allocations: 0 / 1.058 GB, free: 65.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=52): time 0.001792/0.6321, allocations: 0.8018 MB / 1.059 GB, free: 65.41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6321, allocations: 63.03 kB / 1.059 GB, free: 65.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6333, allocations: 1.289 MB / 1.06 GB, free: 65.09 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.6334, allocations: 45.95 kB / 1.06 GB, free: 65.06 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.6338, allocations: 0.7434 MB / 1.061 GB, free: 64.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.634, allocations: 184.6 kB / 1.061 GB, free: 64.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.6341, allocations: 116.4 kB / 1.061 GB, free: 64.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.6342, allocations: 0.5015 MB / 1.062 GB, free: 64.29 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.6343, allocations: 65.42 kB / 1.062 GB, free: 64.29 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.6345, allocations: 219.2 kB / 1.062 GB, free: 64.13 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.6349, allocations: 307.2 kB / 1.062 GB, free: 63.97 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6349, allocations: 3.844 kB / 1.062 GB, free: 63.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008389/0.6357, allocations: 0.5686 MB / 1.063 GB, free: 63.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6357, allocations: 6.531 kB / 1.063 GB, free: 63.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6357, allocations: 9.094 kB / 1.063 GB, free: 63.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.6361, allocations: 131.1 kB / 1.063 GB, free: 63.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.6364, allocations: 104 kB / 1.063 GB, free: 63.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.6384, allocations: 2.727 MB / 1.066 GB, free: 61.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.6387, allocations: 71.06 kB / 1.066 GB, free: 61.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.6388, allocations: 16.02 kB / 1.066 GB, free: 61.83 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.0002098/0.639, allocations: 196.6 kB / 1.066 GB, free: 61.67 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6391, allocations: 170.3 kB / 1.066 GB, free: 61.59 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/0.64, allocations: 0.5363 MB / 1.067 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.64, allocations: 6.75 kB / 1.067 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.64, allocations: 6.031 kB / 1.067 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.64, allocations: 4.141 kB / 1.067 GB, free: 61.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.6416, allocations: 1.187 MB / 1.068 GB, free: 61.15 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6416, allocations: 0 / 1.068 GB, free: 61.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.6418, allocations: 57.38 kB / 1.068 GB, free: 61.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/0.6421, allocations: 139.3 kB / 1.068 GB, free: 61.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.6422, allocations: 13.19 kB / 1.068 GB, free: 61.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.6447, allocations: 4.623 MB / 1.073 GB, free: 57.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6447, allocations: 0 / 1.073 GB, free: 57.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6457, allocations: 0.7811 MB / 1.073 GB, free: 56.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.6459, allocations: 168 kB / 1.074 GB, free: 56.84 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.646, allocations: 10.03 kB / 1.074 GB, free: 56.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.6462, allocations: 26.83 kB / 1.074 GB, free: 56.84 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.6464, allocations: 67.44 kB / 1.074 GB, free: 56.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.6464, allocations: 15.53 kB / 1.074 GB, free: 56.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006842/0.6471, allocations: 0.7023 MB / 1.074 GB, free: 56.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6471, allocations: 3.5 kB / 1.074 GB, free: 56.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008437/0.6479, allocations: 233.2 kB / 1.075 GB, free: 56.67 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.001294/0.6492, allocations: 465.5 kB / 1.075 GB, free: 56.56 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007695/0.65, allocations: 0.5423 MB / 1.076 GB, free: 56.35 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.65, allocations: 3.625 kB / 1.076 GB, free: 56.35 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.6505, allocations: 0.5855 MB / 1.076 GB, free: 55.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.6514, allocations: 292 kB / 1.076 GB, free: 55.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.6548, allocations: 2.174 MB / 1.078 GB, free: 55.02 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.6551, allocations: 315.1 kB / 1.079 GB, free: 54.94 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005552/0.6556, allocations: 214.8 kB / 1.079 GB, free: 54.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/0.6562, allocations: 329.5 kB / 1.079 GB, free: 54.84 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.6562, allocations: 0 / 1.079 GB, free: 54.84 MB / 1.01 GB Notification: Performance of Templates: time 0.02223/0.6784, allocations: 13.93 MB / 1.093 GB, free: 53.44 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.819122103042901]