Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.002194/0.002194, allocations: 110.2 kB / 19.69 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.002842/0.002842, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.357/3.357, allocations: 0.49 GB / 0.7958 GB, free: 33.47 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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [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.002132/0.002132, allocations: 67.86 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.366, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1952/0.5613, allocations: 160.5 MB / 1.484 GB, free: 312 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.5921, allocations: 21.94 MB / 1.505 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.5943, allocations: 75.38 kB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.5961, allocations: 1.169 MB / 1.507 GB, free: 9.062 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.5979, allocations: 0.9068 MB / 1.507 GB, free: 8.152 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.5992, allocations: 414.5 kB / 1.508 GB, free: 7.746 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6009, allocations: 1.278 MB / 1.509 GB, free: 6.461 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007839/0.6016, allocations: 0.5469 MB / 1.51 GB, free: 5.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.6025, allocations: 0.5802 MB / 1.51 GB, free: 5.328 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6037, allocations: 0.9995 MB / 1.511 GB, free: 4.324 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.6039, allocations: 64 kB / 1.511 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.6041, allocations: 116 kB / 1.511 GB, free: 4.148 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.6044, allocations: 320.7 kB / 1.512 GB, free: 3.836 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.6049, allocations: 0.489 MB / 1.512 GB, free: 3.344 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.6064, allocations: 1.225 MB / 1.513 GB, free: 2.113 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6064, allocations: 0 / 1.513 GB, free: 2.113 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6064, allocations: 0 / 1.513 GB, free: 2.113 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6064, allocations: 3.938 kB / 1.513 GB, free: 2.109 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.002599/0.609, allocations: 1.497 MB / 1.515 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.609, allocations: 12.03 kB / 1.515 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.6092, allocations: 144 kB / 1.515 GB, free: 432 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.6102, allocations: 0.6183 MB / 1.516 GB, free: 15.76 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.6104, allocations: 96.39 kB / 1.516 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.6105, allocations: 48 kB / 1.516 GB, free: 15.61 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6115, allocations: 0.5223 MB / 1.516 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6115, allocations: 0 / 1.516 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.6116, allocations: 23.97 kB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.6116, allocations: 12 kB / 1.516 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.6125, allocations: 415.7 kB / 1.517 GB, free: 14.63 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.003944/0.6164, allocations: 2.692 MB / 1.519 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6174, allocations: 429 kB / 1.52 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.6181, allocations: 281.3 kB / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.6182, allocations: 4.328 kB / 1.52 GB, free: 11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006137/0.6188, allocations: 288.8 kB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.6188, allocations: 0 / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002785/0.6216, allocations: 0.9899 MB / 1.521 GB, free: 9.707 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.6216, allocations: 63.39 kB / 1.521 GB, free: 9.633 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.6238, allocations: 1.781 MB / 1.523 GB, free: 7.844 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.6239, allocations: 37.7 kB / 1.523 GB, free: 7.801 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.6244, allocations: 0.5332 MB / 1.523 GB, free: 7.262 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.6246, allocations: 154.8 kB / 1.524 GB, free: 7.109 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.6247, allocations: 98.28 kB / 1.524 GB, free: 7.008 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6249, allocations: 329.9 kB / 1.524 GB, free: 6.68 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.6254, allocations: 217.2 kB / 1.524 GB, free: 6.465 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.626, allocations: 340.1 kB / 1.525 GB, free: 6.086 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.627, allocations: 0.5152 MB / 1.525 GB, free: 5.523 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.627, allocations: 4 kB / 1.525 GB, free: 5.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001767/0.6288, allocations: 0.807 MB / 1.526 GB, free: 4.703 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6288, allocations: 4 kB / 1.526 GB, free: 4.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6288, allocations: 4 kB / 1.526 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.6293, allocations: 144.9 kB / 1.526 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.6297, allocations: 99.81 kB / 1.526 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.6329, allocations: 2.51 MB / 1.529 GB, free: 1.836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.6334, allocations: 75.56 kB / 1.529 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.6334, allocations: 20 kB / 1.529 GB, free: 1.742 MB / 1.217 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.0005737/0.634, allocations: 399.3 kB / 1.529 GB, free: 1.34 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6341, allocations: 127.1 kB / 1.529 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.6356, allocations: 0.7125 MB / 1.53 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.6356, allocations: 4 kB / 1.53 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6356, allocations: 4 kB / 1.53 GB, free: 488 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6356, allocations: 0 / 1.53 GB, free: 488 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.6382, allocations: 1.473 MB / 1.531 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6382, allocations: 4 kB / 1.531 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.6385, allocations: 43.95 kB / 1.531 GB, free: 14.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.6389, allocations: 161.6 kB / 1.532 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.639, allocations: 11.98 kB / 1.532 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.6435, allocations: 4.085 MB / 1.536 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6435, allocations: 4 kB / 1.536 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6455, allocations: 1.005 MB / 1.536 GB, free: 9.395 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.6459, allocations: 147.1 kB / 1.537 GB, free: 9.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.646, allocations: 15.94 kB / 1.537 GB, free: 9.234 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.6463, allocations: 27.97 kB / 1.537 GB, free: 9.207 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6464, allocations: 59.83 kB / 1.537 GB, free: 9.148 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.6465, allocations: 12 kB / 1.537 GB, free: 9.137 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001598/0.6481, allocations: 1.305 MB / 1.538 GB, free: 7.828 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6481, allocations: 0 / 1.538 GB, free: 7.828 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008252/0.6489, allocations: 195.8 kB / 1.538 GB, free: 7.637 MB / 1.232 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,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.001893/0.6508, allocations: 485.2 kB / 1.539 GB, free: 7.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.6524, allocations: 0.6507 MB / 1.539 GB, free: 6.676 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6524, allocations: 0 / 1.539 GB, free: 6.676 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.6533, allocations: 0.513 MB / 1.54 GB, free: 6.137 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6544, allocations: 206.2 kB / 1.54 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.6585, allocations: 2.448 MB / 1.542 GB, free: 3.461 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/0.6594, allocations: 1.157 MB / 1.544 GB, free: 2.273 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.6596, allocations: 51.42 kB / 1.544 GB, free: 2.223 MB / 1.232 GB Notification: Performance of SimCode: time 1.142e-06/0.6596, allocations: 0 / 1.544 GB, free: 2.223 MB / 1.232 GB Notification: Performance of Templates: time 0.02857/0.6881, allocations: 18.14 MB / 1.561 GB, free: 108 kB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.649242495012004]