Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.001343/0.001343, 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.001475/0.001475, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.318/3.318, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") [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.002133/0.002133, allocations: 62.55 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.446, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2099/0.6559, allocations: 138.8 MB / 1.462 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03178/0.6877, allocations: 19.83 MB / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.6904, allocations: 71.44 kB / 1.481 GB, free: 2.551 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.6928, allocations: 1.352 MB / 1.483 GB, free: 1.195 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.6953, allocations: 1.043 MB / 1.484 GB, free: 152 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.6969, allocations: 430.1 kB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002542/0.6995, allocations: 1.469 MB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.7009, allocations: 0.6369 MB / 1.486 GB, free: 13.6 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.7024, allocations: 0.6621 MB / 1.487 GB, free: 12.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.7045, allocations: 1.191 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.7048, allocations: 72 kB / 1.488 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005429/0.7053, allocations: 124 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.7058, allocations: 388.2 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005722/0.7063, allocations: 437.1 kB / 1.489 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.7082, allocations: 1.408 MB / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.7082, allocations: 0 / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7082, allocations: 0 / 1.49 GB, free: 9.328 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.7082, allocations: 0 / 1.49 GB, free: 9.328 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00304/0.7113, allocations: 1.74 MB / 1.492 GB, free: 7.547 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7113, allocations: 8.031 kB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.7116, allocations: 171.8 kB / 1.492 GB, free: 7.371 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.7127, allocations: 0.6957 MB / 1.493 GB, free: 6.637 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.7129, allocations: 104.4 kB / 1.493 GB, free: 6.523 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.713, allocations: 51.95 kB / 1.493 GB, free: 6.473 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.7141, allocations: 0.5809 MB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7142, allocations: 7.938 kB / 1.493 GB, free: 5.871 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.7142, allocations: 16 kB / 1.494 GB, free: 5.855 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.7142, allocations: 12 kB / 1.494 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.7152, allocations: 451.7 kB / 1.494 GB, free: 5.402 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.003916/0.7191, allocations: 1.958 MB / 1.496 GB, free: 3.398 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.7203, allocations: 477 kB / 1.496 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.721, allocations: 289.4 kB / 1.497 GB, free: 2.641 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.721, allocations: 4.375 kB / 1.497 GB, free: 2.637 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006649/0.7216, allocations: 333.2 kB / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of pre-optimization done (n=52): time 2.805e-06/0.7216, allocations: 3.938 kB / 1.497 GB, free: 2.293 MB / 1.186 GB Notification: Performance of matching and sorting (n=52): time 0.003372/0.725, allocations: 1.21 MB / 1.498 GB, free: 1.066 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.7251, allocations: 59.84 kB / 1.498 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.7279, allocations: 2.136 MB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.7279, allocations: 49.69 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000688/0.7286, allocations: 0.6209 MB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.7288, allocations: 174.6 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.729, allocations: 102.3 kB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7291, allocations: 329.9 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.7297, allocations: 241.2 kB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.7304, allocations: 361.8 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7315, allocations: 0.5531 MB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7315, allocations: 0 / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001942/0.7335, allocations: 0.9165 MB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7335, allocations: 8 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7335, allocations: 8 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.7341, allocations: 192.7 kB / 1.504 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.7345, allocations: 103.9 kB / 1.504 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.7387, allocations: 2.889 MB / 1.507 GB, free: 8.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.7392, allocations: 83.58 kB / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.7393, allocations: 24 kB / 1.507 GB, free: 8.008 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006621/0.7399, allocations: 433.8 kB / 1.507 GB, free: 7.578 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.7401, allocations: 143.1 kB / 1.507 GB, free: 7.438 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.7419, allocations: 0.8645 MB / 1.508 GB, free: 6.555 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7419, allocations: 11.92 kB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.742, allocations: 7.938 kB / 1.508 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.742, allocations: 0 / 1.508 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.745, allocations: 1.62 MB / 1.51 GB, free: 4.871 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.745, allocations: 4 kB / 1.51 GB, free: 4.867 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.7453, allocations: 51.95 kB / 1.51 GB, free: 4.816 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.7458, allocations: 197.5 kB / 1.51 GB, free: 4.617 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.7458, allocations: 15.98 kB / 1.51 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.751, allocations: 4.294 MB / 1.514 GB, free: 116 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.751, allocations: 3.938 kB / 1.514 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.7533, allocations: 1.208 MB / 1.515 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.7537, allocations: 166.9 kB / 1.515 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7538, allocations: 19.92 kB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.7542, allocations: 31.97 kB / 1.516 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7543, allocations: 64.39 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.7544, allocations: 19.98 kB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002002/0.7564, allocations: 1.56 MB / 1.517 GB, free: 13.02 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7564, allocations: 0 / 1.517 GB, free: 13.02 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008783/0.7572, allocations: 227.7 kB / 1.517 GB, free: 12.79 MB / 1.217 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.002006/0.7592, allocations: 0.5258 MB / 1.518 GB, free: 12.48 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.761, allocations: 0.7459 MB / 1.519 GB, free: 11.72 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.761, allocations: 0 / 1.519 GB, free: 11.72 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.762, allocations: 0.5785 MB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.7631, allocations: 227.5 kB / 1.519 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.7681, allocations: 2.934 MB / 1.522 GB, free: 7.926 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.7689, allocations: 0.6476 MB / 1.523 GB, free: 7.246 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.7691, allocations: 55.42 kB / 1.523 GB, free: 7.195 MB / 1.217 GB Notification: Performance of SimCode: time 7.51e-07/0.7691, allocations: 0 / 1.523 GB, free: 7.195 MB / 1.217 GB Notification: Performance of Templates: time 0.03467/0.8038, allocations: 21.25 MB / 1.544 GB, free: 1.969 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.518944758921862]