Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001824/0.001824, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002322/0.002322, allocations: 214.1 kB / 22.99 MB, free: 4.941 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.289/3.289, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [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.002125/0.002125, allocations: 76.89 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4725, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2144/0.6869, allocations: 138.5 MB / 1.462 GB, free: 6.797 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03348/0.7204, allocations: 19.72 MB / 1.481 GB, free: 3.023 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.7234, allocations: 71.44 kB / 1.481 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.7258, allocations: 1.165 MB / 1.482 GB, free: 1.785 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.7284, allocations: 0.9068 MB / 1.483 GB, free: 0.875 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.73, allocations: 394.9 kB / 1.483 GB, free: 500 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.7326, allocations: 1.278 MB / 1.485 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.7339, allocations: 0.5351 MB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.7353, allocations: 0.5686 MB / 1.486 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.7372, allocations: 0.9877 MB / 1.487 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.7375, allocations: 68 kB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.738, allocations: 111.9 kB / 1.487 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004659/0.7385, allocations: 328.7 kB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007255/0.7392, allocations: 381.5 kB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.7412, allocations: 1.225 MB / 1.489 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.7412, allocations: 0 / 1.489 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7412, allocations: 7.938 kB / 1.489 GB, free: 10.99 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.834e-05/0.7413, allocations: 0 / 1.489 GB, free: 10.99 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003266/0.7445, allocations: 1.509 MB / 1.49 GB, free: 9.445 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.7446, allocations: 8.031 kB / 1.49 GB, free: 9.438 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.7448, allocations: 144 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7459, allocations: 0.6065 MB / 1.491 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.746, allocations: 104.3 kB / 1.491 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/0.7461, allocations: 44 kB / 1.491 GB, free: 8.492 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7472, allocations: 0.5223 MB / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.7472, allocations: 0 / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.7472, allocations: 20 kB / 1.492 GB, free: 7.938 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.7473, allocations: 15.98 kB / 1.492 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/0.7481, allocations: 423.6 kB / 1.492 GB, free: 7.508 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.003557/0.7517, allocations: 1.829 MB / 1.494 GB, free: 5.637 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.7528, allocations: 436.2 kB / 1.494 GB, free: 5.199 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.7534, allocations: 275.3 kB / 1.494 GB, free: 4.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.7534, allocations: 4.328 kB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/0.7541, allocations: 298.5 kB / 1.495 GB, free: 4.625 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.185e-06/0.7541, allocations: 0 / 1.495 GB, free: 4.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003094/0.7571, allocations: 1.119 MB / 1.496 GB, free: 3.492 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.7572, allocations: 59.41 kB / 1.496 GB, free: 3.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.7594, allocations: 1.755 MB / 1.498 GB, free: 1.656 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.7594, allocations: 33.7 kB / 1.498 GB, free: 1.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.76, allocations: 0.5259 MB / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.7601, allocations: 150.8 kB / 1.498 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.7603, allocations: 94.34 kB / 1.498 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7605, allocations: 334 kB / 1.499 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.761, allocations: 217.2 kB / 1.499 GB, free: 300 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.7616, allocations: 333.8 kB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.7625, allocations: 0.5106 MB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7626, allocations: 0 / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001814/0.7644, allocations: 0.8504 MB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7644, allocations: 8 kB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7644, allocations: 4 kB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.765, allocations: 183 kB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.7653, allocations: 95.81 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.7693, allocations: 2.838 MB / 1.504 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7699, allocations: 71.75 kB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.7699, allocations: 20 kB / 1.504 GB, free: 11.21 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: 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.0008247/0.7708, allocations: 391.8 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.7709, allocations: 123.1 kB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.7726, allocations: 0.7746 MB / 1.505 GB, free: 9.902 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7726, allocations: 4 kB / 1.505 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7726, allocations: 4 kB / 1.505 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7726, allocations: 3.984 kB / 1.505 GB, free: 9.891 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.7752, allocations: 1.439 MB / 1.506 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7752, allocations: 0 / 1.506 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.7754, allocations: 55.95 kB / 1.506 GB, free: 8.355 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/0.7759, allocations: 189.5 kB / 1.507 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.776, allocations: 15.98 kB / 1.507 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.7809, allocations: 4.261 MB / 1.511 GB, free: 3.684 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7809, allocations: 0 / 1.511 GB, free: 3.684 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.783, allocations: 1.095 MB / 1.512 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.7833, allocations: 151.1 kB / 1.512 GB, free: 2.422 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.7834, allocations: 12 kB / 1.512 GB, free: 2.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.7837, allocations: 23.97 kB / 1.512 GB, free: 2.387 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7839, allocations: 56.33 kB / 1.512 GB, free: 2.332 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.7839, allocations: 19.98 kB / 1.512 GB, free: 2.312 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001661/0.7856, allocations: 1.284 MB / 1.513 GB, free: 1.023 MB / 1.201 GB Notification: Performance of sort global known variables: time 5e-08/0.7856, allocations: 0 / 1.513 GB, free: 1.023 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008638/0.7864, allocations: 207.7 kB / 1.513 GB, free: 0.8203 MB / 1.201 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.002068/0.7885, allocations: 0.5122 MB / 1.514 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.7902, allocations: 0.7021 MB / 1.515 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7902, allocations: 0 / 1.515 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.7912, allocations: 0.5467 MB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7923, allocations: 202.4 kB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.7967, allocations: 2.483 MB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.7974, allocations: 0.5544 MB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.7976, allocations: 47.42 kB / 1.518 GB, free: 11.89 MB / 1.217 GB Notification: Performance of SimCode: time 1.082e-06/0.7976, allocations: 0 / 1.518 GB, free: 11.89 MB / 1.217 GB Notification: Performance of Templates: time 0.03286/0.8304, allocations: 18.52 MB / 1.536 GB, free: 9.395 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.44916766602546]