Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001553/0.001553, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001895/0.001895, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.294/3.294, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.TestCase6,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.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_12_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.001998/0.001998, allocations: 70.81 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4216, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2003/0.6219, allocations: 138.8 MB / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03188/0.6538, allocations: 19.83 MB / 1.482 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.6563, allocations: 75.44 kB / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.6585, allocations: 1.352 MB / 1.483 GB, free: 332 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.6609, allocations: 1.047 MB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.6622, allocations: 418.8 kB / 1.485 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.6645, allocations: 1.465 MB / 1.486 GB, free: 13.39 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.6656, allocations: 0.633 MB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.6667, allocations: 0.6698 MB / 1.488 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.6683, allocations: 1.195 MB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.6684, allocations: 72 kB / 1.489 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.6688, allocations: 120 kB / 1.489 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.6693, allocations: 388.2 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.6698, allocations: 437.1 kB / 1.49 GB, free: 9.875 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6715, allocations: 1.4 MB / 1.491 GB, free: 8.469 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6716, allocations: 3.938 kB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6716, allocations: 0 / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.6716, allocations: 0 / 1.491 GB, free: 8.465 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00313/0.6747, allocations: 1.736 MB / 1.493 GB, free: 6.688 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6747, allocations: 11.97 kB / 1.493 GB, free: 6.676 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.6751, allocations: 179.8 kB / 1.493 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.6762, allocations: 0.6956 MB / 1.494 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.6764, allocations: 108.4 kB / 1.494 GB, free: 5.648 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.706e-05/0.6765, allocations: 51.95 kB / 1.494 GB, free: 5.598 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6777, allocations: 0.5809 MB / 1.494 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6777, allocations: 0 / 1.494 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.6778, allocations: 16 kB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.6778, allocations: 15.94 kB / 1.494 GB, free: 4.973 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.6788, allocations: 459.6 kB / 1.495 GB, free: 4.523 MB / 1.186 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.003879/0.6826, allocations: 1.95 MB / 1.497 GB, free: 2.527 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.6839, allocations: 476.5 kB / 1.497 GB, free: 2.055 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/0.6845, allocations: 293.4 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.6846, allocations: 4.375 kB / 1.497 GB, free: 1.762 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.6852, allocations: 329.2 kB / 1.498 GB, free: 1.426 MB / 1.186 GB Notification: Performance of pre-optimization done (n=52): time 3.557e-06/0.6852, allocations: 0 / 1.498 GB, free: 1.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=52): time 0.003474/0.6887, allocations: 1.21 MB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6888, allocations: 59.83 kB / 1.499 GB, free: 132 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6914, allocations: 2.14 MB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.6915, allocations: 41.7 kB / 1.501 GB, free: 13.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.6921, allocations: 0.6248 MB / 1.502 GB, free: 13.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.6923, allocations: 174.6 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.6925, allocations: 102.3 kB / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6927, allocations: 333.9 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.6932, allocations: 237.2 kB / 1.503 GB, free: 12.45 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.6939, allocations: 363 kB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6951, allocations: 0.557 MB / 1.503 GB, free: 11.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6951, allocations: 0 / 1.503 GB, free: 11.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002128/0.6972, allocations: 0.9164 MB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6972, allocations: 8 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6972, allocations: 4 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.6978, allocations: 188.7 kB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.6984, allocations: 111.9 kB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.7027, allocations: 2.89 MB / 1.507 GB, free: 7.242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.7034, allocations: 79.52 kB / 1.508 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.7034, allocations: 24 kB / 1.508 GB, free: 7.141 MB / 1.201 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.000891/0.7043, allocations: 432.8 kB / 1.508 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.7047, allocations: 143.1 kB / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.7067, allocations: 0.8684 MB / 1.509 GB, free: 5.68 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7067, allocations: 11.92 kB / 1.509 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7067, allocations: 4 kB / 1.509 GB, free: 5.664 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.7067, allocations: 7.875 kB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.7099, allocations: 1.62 MB / 1.511 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7099, allocations: 0 / 1.511 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.7102, allocations: 55.89 kB / 1.511 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.7107, allocations: 201.5 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.7108, allocations: 15.98 kB / 1.511 GB, free: 3.719 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/0.7168, allocations: 4.282 MB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.7168, allocations: 3.938 kB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.7194, allocations: 1.204 MB / 1.516 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.7199, allocations: 166.9 kB / 1.516 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.72, allocations: 23.92 kB / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.7204, allocations: 31.97 kB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.7206, allocations: 64.33 kB / 1.516 GB, free: 13.72 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.7207, allocations: 19.98 kB / 1.516 GB, free: 13.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002226/0.7229, allocations: 1.56 MB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7229, allocations: 0 / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009392/0.7238, allocations: 227.7 kB / 1.518 GB, free: 11.92 MB / 1.217 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.002026/0.7259, allocations: 0.5309 MB / 1.519 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.728, allocations: 0.7501 MB / 1.519 GB, free: 10.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.728, allocations: 4 kB / 1.519 GB, free: 10.84 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.729, allocations: 0.5625 MB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.7303, allocations: 232.6 kB / 1.52 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.7358, allocations: 2.937 MB / 1.523 GB, free: 7.055 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/0.7366, allocations: 0.6515 MB / 1.524 GB, free: 6.371 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.7368, allocations: 55.42 kB / 1.524 GB, free: 6.32 MB / 1.217 GB Notification: Performance of SimCode: time 1.443e-06/0.7368, allocations: 0 / 1.524 GB, free: 6.32 MB / 1.217 GB Notification: Performance of Templates: time 0.03536/0.7721, allocations: 21.25 MB / 1.545 GB, free: 1.098 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.161064927931875]