Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.001338/0.001338, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001506/0.001506, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.634/1.634, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.02/3.02, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [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.002039/0.002039, allocations: 59.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.298, allocations: 176.1 MB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2264/1.524, allocations: 160.9 MB / 1.479 GB, free: 3.117 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.038/1.562, allocations: 22.12 MB / 1.501 GB, free: 1.051 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/1.567, allocations: 76.44 kB / 1.501 GB, free: 1.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00378/1.571, allocations: 2.163 MB / 1.503 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/1.575, allocations: 1.488 MB / 1.504 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/1.576, allocations: 462.9 kB / 1.505 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003502/1.58, allocations: 1.867 MB / 1.507 GB, free: 12.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/1.582, allocations: 0.9236 MB / 1.507 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/1.584, allocations: 0.9152 MB / 1.508 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/1.587, allocations: 1.705 MB / 1.51 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/1.587, allocations: 92 kB / 1.51 GB, free: 8.531 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/1.587, allocations: 139.9 kB / 1.51 GB, free: 8.395 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007036/1.588, allocations: 0.5429 MB / 1.511 GB, free: 7.852 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.589, allocations: 0.7757 MB / 1.511 GB, free: 7.07 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/1.592, allocations: 1.888 MB / 1.513 GB, free: 5.176 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.592, allocations: 4 kB / 1.513 GB, free: 5.172 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.465e-06/1.592, allocations: 0 / 1.513 GB, free: 5.172 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.829e-05/1.592, allocations: 3.938 kB / 1.513 GB, free: 5.168 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005263/1.598, allocations: 2.385 MB / 1.516 GB, free: 2.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.598, allocations: 15.92 kB / 1.516 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/1.599, allocations: 251.3 kB / 1.516 GB, free: 2.461 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/1.601, allocations: 1.033 MB / 1.517 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/1.601, allocations: 94.98 kB / 1.517 GB, free: 1.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.601, allocations: 63.94 kB / 1.517 GB, free: 1.199 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/1.604, allocations: 0.729 MB / 1.518 GB, free: 468 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.604, allocations: 3.938 kB / 1.518 GB, free: 464 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.604, allocations: 32 kB / 1.518 GB, free: 432 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.604, allocations: 20 kB / 1.518 GB, free: 412 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.606, allocations: 0.5907 MB / 1.518 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009162/1.615, allocations: 3.523 MB / 1.522 GB, free: 12.02 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/1.618, allocations: 0.6591 MB / 1.523 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.619, allocations: 376.2 kB / 1.523 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/1.619, allocations: 24.53 kB / 1.523 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.62, allocations: 430.8 kB / 1.523 GB, free: 10.53 MB / 1.201 GB Notification: Performance of pre-optimization done (n=70): time 5.57e-06/1.62, allocations: 0 / 1.523 GB, free: 10.53 MB / 1.201 GB Notification: Performance of matching and sorting (n=70): time 0.00739/1.628, allocations: 1.797 MB / 1.525 GB, free: 8.684 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/1.628, allocations: 63.95 kB / 1.525 GB, free: 8.609 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007084/1.635, allocations: 3.346 MB / 1.528 GB, free: 5.238 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/1.635, allocations: 45.7 kB / 1.528 GB, free: 5.188 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.637, allocations: 0.9101 MB / 1.529 GB, free: 4.273 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/1.637, allocations: 230.1 kB / 1.53 GB, free: 4.047 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/1.638, allocations: 126.7 kB / 1.53 GB, free: 3.918 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002846/1.638, allocations: 338 kB / 1.53 GB, free: 3.582 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.64, allocations: 309.8 kB / 1.53 GB, free: 3.281 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.641, allocations: 435.4 kB / 1.531 GB, free: 2.816 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.644, allocations: 0.7196 MB / 1.531 GB, free: 2.059 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.644, allocations: 3.938 kB / 1.531 GB, free: 2.055 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005564/1.649, allocations: 1.21 MB / 1.533 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/1.649, allocations: 15.92 kB / 1.533 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.649, allocations: 8.094 kB / 1.533 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.651, allocations: 257.5 kB / 1.533 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.652, allocations: 135.8 kB / 1.533 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.663, allocations: 4.754 MB / 1.538 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.664, allocations: 91.47 kB / 1.538 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.664, allocations: 35.92 kB / 1.538 GB, free: 11.26 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001759/1.666, allocations: 0.6087 MB / 1.538 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/1.667, allocations: 218.5 kB / 1.539 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008819/1.668, allocations: 257 kB / 1.539 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.668, allocations: 8 kB / 1.539 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/1.668, allocations: 4 kB / 1.539 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/1.668, allocations: 3.984 kB / 1.539 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007711/1.675, allocations: 2.332 MB / 1.541 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.675, allocations: 8 kB / 1.541 GB, free: 7.754 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/1.676, allocations: 71.89 kB / 1.541 GB, free: 7.684 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/1.677, allocations: 247.4 kB / 1.541 GB, free: 7.438 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.677, allocations: 23.92 kB / 1.541 GB, free: 7.414 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.688, allocations: 4.765 MB / 1.546 GB, free: 2.371 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.688, allocations: 0 / 1.546 GB, free: 2.371 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/1.694, allocations: 1.574 MB / 1.548 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.695, allocations: 327.5 kB / 1.548 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/1.695, allocations: 19.94 kB / 1.548 GB, free: 420 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/1.696, allocations: 43.95 kB / 1.548 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/1.696, allocations: 72.69 kB / 1.548 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.696, allocations: 23.98 kB / 1.548 GB, free: 276 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.006073/1.703, allocations: 2.452 MB / 1.55 GB, free: 13.8 MB / 1.232 GB Notification: Performance of sort global known variables: time 5.91e-07/1.703, allocations: 3.938 kB / 1.55 GB, free: 13.8 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002249/1.705, allocations: 295.6 kB / 1.551 GB, free: 13.51 MB / 1.232 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003212/1.708, allocations: 0.4926 MB / 1.551 GB, free: 13.2 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004296/1.712, allocations: 1.018 MB / 1.552 GB, free: 12.16 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.712, allocations: 0 / 1.552 GB, free: 12.16 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/1.715, allocations: 0.663 MB / 1.553 GB, free: 11.47 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.717, allocations: 290.8 kB / 1.553 GB, free: 11.2 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.73, allocations: 4.16 MB / 1.557 GB, free: 6.996 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/1.732, allocations: 1.532 MB / 1.559 GB, free: 5.434 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.733, allocations: 75.41 kB / 1.559 GB, free: 5.359 MB / 1.232 GB Notification: Performance of SimCode: time 2.164e-06/1.733, allocations: 0 / 1.559 GB, free: 5.359 MB / 1.232 GB Notification: Performance of Templates: time 0.08709/1.82, allocations: 32.02 MB / 1.59 GB, free: 5.355 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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: 16.868545514997095]