Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001307/0.001307, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001429/0.001429, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.102/3.102, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [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.002031/0.002031, allocations: 68.81 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1708/0.4552, allocations: 138.5 MB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02511/0.4803, allocations: 19.71 MB / 1.482 GB, free: 2.102 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.4817, allocations: 67.44 kB / 1.482 GB, free: 2.035 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.4834, allocations: 1.177 MB / 1.483 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.4849, allocations: 0.9108 MB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.4857, allocations: 390.9 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.487, allocations: 1.274 MB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.4877, allocations: 0.5508 MB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.4884, allocations: 0.5724 MB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.4896, allocations: 1.003 MB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.4897, allocations: 68 kB / 1.487 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.4899, allocations: 119.9 kB / 1.488 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.4902, allocations: 332.6 kB / 1.488 GB, free: 11.63 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.4906, allocations: 381.5 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.492, allocations: 1.229 MB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.492, allocations: 0 / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.243e-06/0.492, allocations: 4 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.492, allocations: 0 / 1.489 GB, free: 10.02 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.002469/0.4944, allocations: 1.505 MB / 1.491 GB, free: 8.477 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4945, allocations: 16.03 kB / 1.491 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.4947, allocations: 144 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.4956, allocations: 0.5986 MB / 1.492 GB, free: 7.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.4958, allocations: 104.4 kB / 1.492 GB, free: 7.566 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.4959, allocations: 48 kB / 1.492 GB, free: 7.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4969, allocations: 0.5224 MB / 1.492 GB, free: 6.984 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.497, allocations: 3.984 kB / 1.492 GB, free: 6.98 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.497, allocations: 20 kB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.497, allocations: 8 kB / 1.492 GB, free: 6.953 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009056/0.4979, allocations: 419.7 kB / 1.493 GB, free: 6.543 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.003294/0.5012, allocations: 1.769 MB / 1.494 GB, free: 4.742 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.5022, allocations: 417.2 kB / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.5029, allocations: 291.1 kB / 1.495 GB, free: 4.039 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.503, allocations: 8.266 kB / 1.495 GB, free: 4.031 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006054/0.5036, allocations: 292.4 kB / 1.495 GB, free: 3.734 MB / 1.186 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.5036, allocations: 0 / 1.495 GB, free: 3.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=44): time 0.002773/0.5064, allocations: 1.002 MB / 1.496 GB, free: 2.719 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5064, allocations: 55.41 kB / 1.496 GB, free: 2.652 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.5084, allocations: 1.775 MB / 1.498 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.5085, allocations: 37.7 kB / 1.498 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.509, allocations: 0.522 MB / 1.499 GB, free: 304 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5091, allocations: 158.7 kB / 1.499 GB, free: 144 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.5093, allocations: 102.3 kB / 1.499 GB, free: 36 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5094, allocations: 326 kB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.5099, allocations: 213.2 kB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.5105, allocations: 348.1 kB / 1.5 GB, free: 15.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/0.5115, allocations: 0.5147 MB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5115, allocations: 4 kB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00171/0.5132, allocations: 0.8112 MB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5132, allocations: 8 kB / 1.501 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5133, allocations: 7.938 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.5137, allocations: 140.9 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.5141, allocations: 103.8 kB / 1.501 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.5172, allocations: 2.46 MB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.5176, allocations: 67.69 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.5176, allocations: 20 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004759/0.5181, allocations: 395.3 kB / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.5183, allocations: 119.2 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.5198, allocations: 0.7123 MB / 1.505 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5198, allocations: 4 kB / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.5198, allocations: 7.938 kB / 1.505 GB, free: 9.57 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5198, allocations: 3.984 kB / 1.505 GB, free: 9.566 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.5223, allocations: 1.373 MB / 1.506 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5224, allocations: 0 / 1.506 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.5226, allocations: 47.91 kB / 1.506 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.523, allocations: 167.1 kB / 1.507 GB, free: 7.938 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.5231, allocations: 15.92 kB / 1.507 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/0.5273, allocations: 3.969 MB / 1.511 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5273, allocations: 0 / 1.511 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.5293, allocations: 1.025 MB / 1.512 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.5295, allocations: 139.1 kB / 1.512 GB, free: 2.574 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.5296, allocations: 16 kB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.53, allocations: 31.97 kB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5301, allocations: 55.89 kB / 1.512 GB, free: 2.473 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.5301, allocations: 15.94 kB / 1.512 GB, free: 2.457 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001486/0.5316, allocations: 1.292 MB / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5316, allocations: 0 / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007552/0.5324, allocations: 199.7 kB / 1.513 GB, free: 0.9648 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,12,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.001968/0.5344, allocations: 0.5021 MB / 1.514 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.5358, allocations: 0.6546 MB / 1.514 GB, free: 4 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5358, allocations: 256 / 1.514 GB, free: 4 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.5367, allocations: 0.5207 MB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.5377, allocations: 203.8 kB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.5413, allocations: 2.395 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.5419, allocations: 0.5622 MB / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.5422, allocations: 96.62 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5423, allocations: 43.42 kB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of SimCode: time 4.11e-07/0.5423, allocations: 0 / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of Templates: time 0.02164/0.564, allocations: 11.79 MB / 1.53 GB, free: 0.5039 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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: 10.679810588000691]