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.0009628/0.0009628, allocations: 92.22 kB / 19.65 MB, free: 280 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.001018/0.001018, allocations: 169 kB / 23.02 MB, free: 1.551 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.9357/0.9357, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.081/2.081, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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.463e-06/1.463e-06, allocations: 0 / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.947e-05, allocations: 8.641 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1852/0.1853, allocations: 139.5 MB / 1.014 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.2034, allocations: 19.84 MB / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2049, allocations: 75.38 kB / 1.034 GB, free: 6.301 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.2063, allocations: 1.347 MB / 1.035 GB, free: 4.949 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2077, allocations: 1.058 MB / 1.036 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.2086, allocations: 422.7 kB / 1.037 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2099, allocations: 1.508 MB / 1.038 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.2106, allocations: 0.6687 MB / 1.039 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.2114, allocations: 0.834 MB / 1.04 GB, free: 456 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.2126, allocations: 1.149 MB / 1.041 GB, free: 15.3 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.2127, allocations: 72 kB / 1.041 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.2129, allocations: 123.9 kB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.2131, allocations: 392.4 kB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2134, allocations: 326.9 kB / 1.042 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008846/0.2142, allocations: 0.9685 MB / 1.043 GB, free: 13.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2142, allocations: 0 / 1.043 GB, free: 13.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2142, allocations: 0 / 1.043 GB, free: 13.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.2143, allocations: 0 / 1.043 GB, free: 13.43 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.001761/0.216, allocations: 1.902 MB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2161, allocations: 12.02 kB / 1.044 GB, free: 11.46 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.2163, allocations: 215.8 kB / 1.045 GB, free: 11.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.2174, allocations: 1.176 MB / 1.046 GB, free: 10.01 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2175, allocations: 100.4 kB / 1.046 GB, free: 9.898 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.2176, allocations: 52 kB / 1.046 GB, free: 9.848 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.2182, allocations: 432 kB / 1.046 GB, free: 9.406 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2182, allocations: 0 / 1.046 GB, free: 9.406 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.2182, allocations: 20 kB / 1.046 GB, free: 9.387 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2182, allocations: 20 kB / 1.046 GB, free: 9.367 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.2186, allocations: 185.8 kB / 1.047 GB, free: 9.188 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.221, allocations: 2.017 MB / 1.048 GB, free: 7.113 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.2215, allocations: 281.3 kB / 1.049 GB, free: 6.828 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.2218, allocations: 153.3 kB / 1.049 GB, free: 6.676 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.2218, allocations: 12.31 kB / 1.049 GB, free: 6.664 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.2221, allocations: 223.7 kB / 1.049 GB, free: 6.434 MB / 1.01 GB Notification: Performance of pre-optimization done (n=52): time 1.873e-06/0.2221, allocations: 0 / 1.049 GB, free: 6.434 MB / 1.01 GB Notification: Performance of matching and sorting (n=52): time 0.001663/0.2238, allocations: 0.8776 MB / 1.05 GB, free: 5.543 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.2238, allocations: 59.91 kB / 1.05 GB, free: 5.473 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.225, allocations: 1.304 MB / 1.051 GB, free: 4.137 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.225, allocations: 37.7 kB / 1.051 GB, free: 4.094 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.2255, allocations: 0.7384 MB / 1.052 GB, free: 3.344 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2256, allocations: 178.5 kB / 1.052 GB, free: 3.168 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2257, allocations: 112 kB / 1.052 GB, free: 3.051 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2258, allocations: 0.5048 MB / 1.053 GB, free: 2.539 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.226, allocations: 85.25 kB / 1.053 GB, free: 2.453 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2262, allocations: 238.8 kB / 1.053 GB, free: 2.168 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2266, allocations: 340 kB / 1.053 GB, free: 1.785 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2266, allocations: 0 / 1.053 GB, free: 1.785 MB / 1.01 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007716/0.2274, allocations: 0.6303 MB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2274, allocations: 8 kB / 1.054 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2274, allocations: 0 / 1.054 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/0.2279, allocations: 145.7 kB / 1.054 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.2282, allocations: 107.8 kB / 1.054 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4118/0.6399, allocations: 2.824 MB / 1.057 GB, free: 71.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.6404, allocations: 68.67 kB / 1.057 GB, free: 71.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.6404, allocations: 24.91 kB / 1.057 GB, free: 71.38 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.0002798/0.6407, allocations: 197.7 kB / 1.057 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6409, allocations: 168.4 kB / 1.058 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.6418, allocations: 0.5745 MB / 1.058 GB, free: 71.13 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6418, allocations: 6.219 kB / 1.058 GB, free: 71.13 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6418, allocations: 2.438 kB / 1.058 GB, free: 71.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6418, allocations: 4.797 kB / 1.058 GB, free: 71.13 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6438, allocations: 1.454 MB / 1.06 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6438, allocations: 0 / 1.06 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.644, allocations: 58.56 kB / 1.06 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.6444, allocations: 137.9 kB / 1.06 GB, free: 70.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.6444, allocations: 13.89 kB / 1.06 GB, free: 70.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.6471, allocations: 4.739 MB / 1.064 GB, free: 66.87 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6471, allocations: 3.188 kB / 1.064 GB, free: 66.87 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.6482, allocations: 0.8499 MB / 1.065 GB, free: 66.55 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.6484, allocations: 166.6 kB / 1.065 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.6485, allocations: 16.91 kB / 1.065 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.6487, allocations: 32.42 kB / 1.065 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6488, allocations: 65.72 kB / 1.065 GB, free: 66.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.6489, allocations: 18.5 kB / 1.065 GB, free: 66.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007545/0.6496, allocations: 0.7444 MB / 1.066 GB, free: 66.32 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6496, allocations: 0 / 1.066 GB, free: 66.32 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008047/0.6504, allocations: 239.1 kB / 1.066 GB, free: 66.3 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.001185/0.6516, allocations: 468.7 kB / 1.067 GB, free: 66.17 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009054/0.6525, allocations: 0.586 MB / 1.067 GB, free: 65.96 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6525, allocations: 0.875 kB / 1.067 GB, free: 65.96 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.6531, allocations: 0.6033 MB / 1.068 GB, free: 65.58 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.6539, allocations: 279.6 kB / 1.068 GB, free: 65.56 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.6568, allocations: 2.182 MB / 1.07 GB, free: 64.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.657, allocations: 315.2 kB / 1.071 GB, free: 64.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000385/0.6574, allocations: 244.2 kB / 1.071 GB, free: 64.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.6576, allocations: 158.8 kB / 1.071 GB, free: 64.52 MB / 1.01 GB Notification: Performance of SimCode: time 8.11e-07/0.6576, allocations: 0 / 1.071 GB, free: 64.52 MB / 1.01 GB Notification: Performance of Templates: time 0.01803/0.6756, allocations: 13.11 MB / 1.084 GB, free: 63.2 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.855277387890965]