Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001694/0.001694, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.0022/0.0022, allocations: 222.1 kB / 23 MB, free: 4.914 MB / 14.72 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 1.717/1.717, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.902/2.902, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_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.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 66.17 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.198/0.5873, allocations: 138.7 MB / 1.419 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03219/0.6195, allocations: 19.82 MB / 1.439 GB, free: 12.84 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.6223, allocations: 71.44 kB / 1.439 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.6249, allocations: 1.348 MB / 1.44 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002663/0.6275, allocations: 1.043 MB / 1.441 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.6292, allocations: 434.8 kB / 1.441 GB, free: 9.949 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.6318, allocations: 1.465 MB / 1.443 GB, free: 8.477 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.6329, allocations: 0.6293 MB / 1.443 GB, free: 7.828 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.6342, allocations: 0.6659 MB / 1.444 GB, free: 7.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.6358, allocations: 1.195 MB / 1.445 GB, free: 5.965 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.636, allocations: 72 kB / 1.445 GB, free: 5.895 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.6364, allocations: 120 kB / 1.445 GB, free: 5.777 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.6368, allocations: 388.2 kB / 1.446 GB, free: 5.395 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.6373, allocations: 445.1 kB / 1.446 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.6392, allocations: 1.4 MB / 1.448 GB, free: 3.551 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6392, allocations: 0 / 1.448 GB, free: 3.551 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6392, allocations: 4 kB / 1.448 GB, free: 3.547 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.6392, allocations: 0 / 1.448 GB, free: 3.547 MB / 1.139 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.002977/0.6422, allocations: 1.73 MB / 1.449 GB, free: 1.773 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6422, allocations: 8.031 kB / 1.449 GB, free: 1.766 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.6425, allocations: 175.8 kB / 1.45 GB, free: 1.594 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.6437, allocations: 0.7034 MB / 1.45 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.6438, allocations: 100.4 kB / 1.45 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6439, allocations: 55.98 kB / 1.45 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.6451, allocations: 0.5692 MB / 1.451 GB, free: 112 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.6452, allocations: 3.953 kB / 1.451 GB, free: 108 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.6452, allocations: 24 kB / 1.451 GB, free: 84 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6452, allocations: 12 kB / 1.451 GB, free: 72 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.6462, allocations: 447.7 kB / 1.451 GB, free: 15.63 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.6502, allocations: 1.966 MB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6514, allocations: 472 kB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.652, allocations: 294.6 kB / 1.454 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.6521, allocations: 4.375 kB / 1.454 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/0.6529, allocations: 333.2 kB / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/0.6529, allocations: 0 / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=52): time 0.003329/0.6562, allocations: 1.218 MB / 1.456 GB, free: 11.28 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.6563, allocations: 59.84 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.6593, allocations: 2.14 MB / 1.458 GB, free: 9.055 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.6593, allocations: 37.7 kB / 1.458 GB, free: 9.012 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/0.6601, allocations: 0.6248 MB / 1.458 GB, free: 8.383 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.6603, allocations: 178.6 kB / 1.458 GB, free: 8.207 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6605, allocations: 102.3 kB / 1.459 GB, free: 8.102 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.6607, allocations: 333.9 kB / 1.459 GB, free: 7.77 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.6613, allocations: 241.1 kB / 1.459 GB, free: 7.535 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.6619, allocations: 357.8 kB / 1.459 GB, free: 7.145 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.6632, allocations: 0.5457 MB / 1.46 GB, free: 6.562 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6632, allocations: 7.938 kB / 1.46 GB, free: 6.555 MB / 1.154 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002086/0.6653, allocations: 0.9231 MB / 1.461 GB, free: 5.621 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6653, allocations: 4 kB / 1.461 GB, free: 5.617 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6653, allocations: 4 kB / 1.461 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.6659, allocations: 195 kB / 1.461 GB, free: 5.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.6663, allocations: 103.8 kB / 1.461 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.6706, allocations: 2.89 MB / 1.464 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.6713, allocations: 83.58 kB / 1.464 GB, free: 2.246 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.6713, allocations: 20 kB / 1.464 GB, free: 2.227 MB / 1.154 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.0007714/0.6721, allocations: 441.8 kB / 1.465 GB, free: 1.789 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.6723, allocations: 139.1 kB / 1.465 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.6742, allocations: 0.8684 MB / 1.466 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.6743, allocations: 7.938 kB / 1.466 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6743, allocations: 4 kB / 1.466 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6743, allocations: 4 kB / 1.466 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.6773, allocations: 1.62 MB / 1.467 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6773, allocations: 0 / 1.467 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.6776, allocations: 55.91 kB / 1.467 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.6781, allocations: 199.8 kB / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.6782, allocations: 16 kB / 1.467 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/0.6839, allocations: 4.289 MB / 1.472 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.6839, allocations: 3.938 kB / 1.472 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6865, allocations: 1.196 MB / 1.473 GB, free: 9.109 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.6871, allocations: 170.9 kB / 1.473 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6872, allocations: 23.92 kB / 1.473 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.6875, allocations: 23.97 kB / 1.473 GB, free: 8.895 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.6877, allocations: 76.31 kB / 1.473 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.6878, allocations: 16 kB / 1.473 GB, free: 8.801 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002046/0.6898, allocations: 1.56 MB / 1.475 GB, free: 7.242 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6898, allocations: 0 / 1.475 GB, free: 7.242 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001004/0.6908, allocations: 227.7 kB / 1.475 GB, free: 7.02 MB / 1.17 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.002048/0.6929, allocations: 0.5191 MB / 1.475 GB, free: 6.711 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.6947, allocations: 0.7459 MB / 1.476 GB, free: 5.953 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6947, allocations: 3.938 kB / 1.476 GB, free: 5.949 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6958, allocations: 0.5744 MB / 1.477 GB, free: 5.348 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.697, allocations: 226.1 kB / 1.477 GB, free: 5.141 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.7023, allocations: 2.934 MB / 1.48 GB, free: 2.164 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/0.7032, allocations: 0.6553 MB / 1.48 GB, free: 1.48 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.7034, allocations: 51.42 kB / 1.48 GB, free: 1.43 MB / 1.17 GB Notification: Performance of SimCode: time 1.092e-06/0.7034, allocations: 0 / 1.48 GB, free: 1.43 MB / 1.17 GB Notification: Performance of Templates: time 0.0354/0.7388, allocations: 21.26 MB / 1.501 GB, free: 12.2 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.899429757148027]