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.001366/0.001366, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001562/0.001562, allocations: 218.2 kB / 23.01 MB, free: 4.605 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.3/3.3, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.002065/0.002065, allocations: 69.67 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4755, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.231/0.7065, allocations: 160.5 MB / 1.484 GB, free: 344 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0359/0.7424, allocations: 21.93 MB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.7454, allocations: 75.38 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.7475, allocations: 1.177 MB / 1.507 GB, free: 9.086 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.7498, allocations: 0.9068 MB / 1.507 GB, free: 8.176 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.7513, allocations: 410.6 kB / 1.508 GB, free: 7.773 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.7535, allocations: 1.278 MB / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.7544, allocations: 0.5469 MB / 1.51 GB, free: 5.938 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.7555, allocations: 0.584 MB / 1.51 GB, free: 5.352 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.7569, allocations: 0.9995 MB / 1.511 GB, free: 4.348 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.757, allocations: 68 kB / 1.511 GB, free: 4.281 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.7574, allocations: 111.9 kB / 1.511 GB, free: 4.172 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.7577, allocations: 328.6 kB / 1.512 GB, free: 3.852 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.7582, allocations: 496.8 kB / 1.512 GB, free: 3.363 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.76, allocations: 1.221 MB / 1.513 GB, free: 2.137 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.76, allocations: 0 / 1.513 GB, free: 2.137 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.094e-06/0.76, allocations: 0 / 1.513 GB, free: 2.137 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.76, allocations: 0 / 1.513 GB, free: 2.137 MB / 1.201 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.002848/0.7628, allocations: 1.497 MB / 1.515 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.7629, allocations: 12.03 kB / 1.515 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.7631, allocations: 156 kB / 1.515 GB, free: 448 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.7643, allocations: 0.6065 MB / 1.516 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.7645, allocations: 96.38 kB / 1.516 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.7646, allocations: 48 kB / 1.516 GB, free: 15.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7657, allocations: 0.5223 MB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.7657, allocations: 0 / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.7657, allocations: 20 kB / 1.516 GB, free: 15.08 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.7658, allocations: 12 kB / 1.516 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.7666, allocations: 415.6 kB / 1.517 GB, free: 14.66 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.004402/0.771, allocations: 2.768 MB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7721, allocations: 435.4 kB / 1.52 GB, free: 11.23 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.7727, allocations: 267 kB / 1.52 GB, free: 10.97 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.7728, allocations: 4.328 kB / 1.52 GB, free: 10.96 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/0.7734, allocations: 298.6 kB / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 3.055e-06/0.7734, allocations: 0 / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003107/0.7765, allocations: 1.104 MB / 1.521 GB, free: 9.547 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.7766, allocations: 63.39 kB / 1.521 GB, free: 9.473 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.7789, allocations: 1.765 MB / 1.523 GB, free: 7.699 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.779, allocations: 41.7 kB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.7795, allocations: 0.5301 MB / 1.524 GB, free: 7.117 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.7797, allocations: 146.7 kB / 1.524 GB, free: 6.973 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.7799, allocations: 94.34 kB / 1.524 GB, free: 6.875 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.7801, allocations: 338.3 kB / 1.524 GB, free: 6.539 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.7806, allocations: 217.2 kB / 1.524 GB, free: 6.324 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.7812, allocations: 333.8 kB / 1.525 GB, free: 5.957 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.7821, allocations: 0.5101 MB / 1.525 GB, free: 5.41 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7821, allocations: 3.938 kB / 1.525 GB, free: 5.406 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001893/0.784, allocations: 0.8403 MB / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.7841, allocations: 4 kB / 1.526 GB, free: 4.555 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7841, allocations: 7.938 kB / 1.526 GB, free: 4.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.7847, allocations: 188.8 kB / 1.526 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.785, allocations: 95.81 kB / 1.526 GB, free: 4.266 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.7891, allocations: 2.896 MB / 1.529 GB, free: 1.262 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.7897, allocations: 79.64 kB / 1.529 GB, free: 1.184 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.7898, allocations: 20 kB / 1.529 GB, free: 1.164 MB / 1.217 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.0007414/0.7905, allocations: 395.7 kB / 1.53 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.7907, allocations: 119.2 kB / 1.53 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.7923, allocations: 0.7606 MB / 1.531 GB, free: 15.86 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7923, allocations: 8 kB / 1.531 GB, free: 15.86 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7923, allocations: 0 / 1.531 GB, free: 15.86 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7923, allocations: 4 kB / 1.531 GB, free: 15.85 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.7951, allocations: 1.547 MB / 1.532 GB, free: 14.25 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7951, allocations: 0 / 1.532 GB, free: 14.25 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.7954, allocations: 47.97 kB / 1.532 GB, free: 14.21 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.7959, allocations: 193.5 kB / 1.532 GB, free: 14.01 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.7959, allocations: 19.92 kB / 1.532 GB, free: 13.99 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/0.8008, allocations: 4.122 MB / 1.536 GB, free: 9.641 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8008, allocations: 4.062 kB / 1.536 GB, free: 9.637 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.803, allocations: 1.072 MB / 1.537 GB, free: 8.547 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.8034, allocations: 147.1 kB / 1.537 GB, free: 8.402 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/0.8035, allocations: 12 kB / 1.537 GB, free: 8.391 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.8038, allocations: 23.97 kB / 1.538 GB, free: 8.367 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.8039, allocations: 63.83 kB / 1.538 GB, free: 8.305 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.804, allocations: 19.98 kB / 1.538 GB, free: 8.285 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.001712/0.8057, allocations: 1.293 MB / 1.539 GB, free: 6.988 MB / 1.233 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8057, allocations: 0 / 1.539 GB, free: 6.988 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0008626/0.8065, allocations: 203.7 kB / 1.539 GB, free: 6.789 MB / 1.233 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 (29): * Single equations (assignments): 21 * 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.001957/0.8085, allocations: 492.7 kB / 1.54 GB, free: 6.488 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.8103, allocations: 0.7009 MB / 1.54 GB, free: 5.777 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8103, allocations: 0 / 1.54 GB, free: 5.777 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.8113, allocations: 0.5444 MB / 1.541 GB, free: 5.207 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.8124, allocations: 205 kB / 1.541 GB, free: 5.02 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.817, allocations: 2.475 MB / 1.543 GB, free: 2.504 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.818, allocations: 1.15 MB / 1.544 GB, free: 1.324 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.8182, allocations: 51.42 kB / 1.545 GB, free: 1.273 MB / 1.233 GB Notification: Performance of SimCode: time 1.492e-06/0.8182, allocations: 0 / 1.545 GB, free: 1.273 MB / 1.233 GB Notification: Performance of Templates: time 0.03063/0.8488, allocations: 18.17 MB / 1.562 GB, free: 15.13 MB / 1.264 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.37779917800799]