Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001848/0.001848, 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.002153/0.002153, allocations: 221.8 kB / 23 MB, free: 4.91 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.357/3.357, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [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.002078/0.002078, allocations: 71.03 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4139, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.2001/0.6141, allocations: 138.5 MB / 1.5 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03088/0.6449, allocations: 19.72 MB / 1.519 GB, free: 14.81 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.6473, allocations: 67.44 kB / 1.519 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.6495, allocations: 1.173 MB / 1.52 GB, free: 13.57 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.6517, allocations: 0.9146 MB / 1.521 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.653, allocations: 386.9 kB / 1.522 GB, free: 12.27 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.6551, allocations: 1.274 MB / 1.523 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6561, allocations: 0.5313 MB / 1.523 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.6573, allocations: 0.5802 MB / 1.524 GB, free: 9.875 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.659, allocations: 0.9761 MB / 1.525 GB, free: 8.895 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.6592, allocations: 68 kB / 1.525 GB, free: 8.828 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.6596, allocations: 112 kB / 1.525 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.66, allocations: 328.6 kB / 1.525 GB, free: 8.398 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.6606, allocations: 389.5 kB / 1.526 GB, free: 8.016 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.6623, allocations: 1.229 MB / 1.527 GB, free: 6.781 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6623, allocations: 0 / 1.527 GB, free: 6.781 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6623, allocations: 0 / 1.527 GB, free: 6.781 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6623, allocations: 0 / 1.527 GB, free: 6.781 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002589/0.6649, allocations: 1.513 MB / 1.528 GB, free: 5.23 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.665, allocations: 12.03 kB / 1.528 GB, free: 5.219 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.6652, allocations: 144 kB / 1.529 GB, free: 5.078 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.6662, allocations: 0.6025 MB / 1.529 GB, free: 4.434 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6663, allocations: 96.39 kB / 1.529 GB, free: 4.328 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/0.6664, allocations: 51.98 kB / 1.529 GB, free: 4.277 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.6674, allocations: 0.5223 MB / 1.53 GB, free: 3.746 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6674, allocations: 0 / 1.53 GB, free: 3.746 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.6675, allocations: 20 kB / 1.53 GB, free: 3.727 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.6675, allocations: 12 kB / 1.53 GB, free: 3.715 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.6684, allocations: 411.7 kB / 1.53 GB, free: 3.309 MB / 1.217 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.003524/0.6719, allocations: 1.837 MB / 1.532 GB, free: 1.426 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.673, allocations: 432.9 kB / 1.532 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.6736, allocations: 269.3 kB / 1.533 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.6736, allocations: 4.766 kB / 1.533 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006183/0.6742, allocations: 302.8 kB / 1.533 GB, free: 432 kB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.6742, allocations: 0 / 1.533 GB, free: 432 kB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003088/0.6773, allocations: 1.114 MB / 1.534 GB, free: 15.29 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.6774, allocations: 63.28 kB / 1.534 GB, free: 15.22 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.6797, allocations: 1.763 MB / 1.536 GB, free: 13.45 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.6798, allocations: 33.7 kB / 1.536 GB, free: 13.41 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.6803, allocations: 0.5181 MB / 1.536 GB, free: 12.88 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.6804, allocations: 150.8 kB / 1.537 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.6806, allocations: 94.34 kB / 1.537 GB, free: 12.64 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6808, allocations: 334 kB / 1.537 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.6813, allocations: 221.2 kB / 1.537 GB, free: 12.09 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.682, allocations: 329.2 kB / 1.537 GB, free: 11.73 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.683, allocations: 0.5251 MB / 1.538 GB, free: 11.16 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.683, allocations: 0 / 1.538 GB, free: 11.16 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001792/0.6848, allocations: 0.8519 MB / 1.539 GB, free: 10.3 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6848, allocations: 12.06 kB / 1.539 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6848, allocations: 7.984 kB / 1.539 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.6853, allocations: 174.5 kB / 1.539 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.6857, allocations: 91.88 kB / 1.539 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.6898, allocations: 2.843 MB / 1.542 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.6902, allocations: 67.69 kB / 1.542 GB, free: 7.016 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.6903, allocations: 23.94 kB / 1.542 GB, free: 6.992 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005861/0.6909, allocations: 389.4 kB / 1.542 GB, free: 6.605 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.691, allocations: 127.2 kB / 1.542 GB, free: 6.48 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.6926, allocations: 0.7708 MB / 1.543 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.6926, allocations: 8 kB / 1.543 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6926, allocations: 4 kB / 1.543 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6927, allocations: 0 / 1.543 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.6953, allocations: 1.439 MB / 1.545 GB, free: 4.199 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6953, allocations: 0 / 1.545 GB, free: 4.199 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.6955, allocations: 51.91 kB / 1.545 GB, free: 4.148 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.696, allocations: 192 kB / 1.545 GB, free: 3.957 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.6961, allocations: 15.98 kB / 1.545 GB, free: 3.941 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.7011, allocations: 4.264 MB / 1.549 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7011, allocations: 0 / 1.549 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7031, allocations: 1.084 MB / 1.55 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.7035, allocations: 159 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.7036, allocations: 11.98 kB / 1.55 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.7039, allocations: 31.97 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7041, allocations: 56.33 kB / 1.55 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.7041, allocations: 16 kB / 1.55 GB, free: 14.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001581/0.7057, allocations: 1.28 MB / 1.552 GB, free: 12.81 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7057, allocations: 3.938 kB / 1.552 GB, free: 12.8 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000804/0.7065, allocations: 207.7 kB / 1.552 GB, free: 12.6 MB / 1.248 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.001974/0.7085, allocations: 0.499 MB / 1.552 GB, free: 12.31 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.7102, allocations: 0.7061 MB / 1.553 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.7102, allocations: 0.6875 kB / 1.553 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.7112, allocations: 0.5426 MB / 1.554 GB, free: 11.02 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.7122, allocations: 207.8 kB / 1.554 GB, free: 10.83 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.7164, allocations: 2.483 MB / 1.556 GB, free: 8.309 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.7171, allocations: 0.5583 MB / 1.557 GB, free: 7.719 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.7172, allocations: 43.44 kB / 1.557 GB, free: 7.676 MB / 1.248 GB Notification: Performance of SimCode: time 6.31e-07/0.7172, allocations: 0 / 1.557 GB, free: 7.676 MB / 1.248 GB Notification: Performance of Templates: time 0.02902/0.7463, allocations: 18.5 MB / 1.575 GB, free: 5.191 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 14.820143630262464]