Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001378/0.001378, allocations: 78.3 kB / 19.01 MB, free: 2.691 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.001565/0.001565, allocations: 160.8 kB / 22.25 MB, free: 4.73 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.448/1.448, allocations: 177.2 MB / 202.6 MB, free: 9.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.86/2.86, allocations: 394.2 MB / 0.6379 GB, free: 12.07 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [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.002316/0.002316, allocations: 72.17 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8791, allocations: 181.8 MB / 1.186 GB, free: 16.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1873/1.066, allocations: 138.4 MB / 1.321 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0254/1.092, allocations: 19.72 MB / 1.34 GB, free: 7.848 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/1.094, allocations: 71.44 kB / 1.34 GB, free: 7.777 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/1.095, allocations: 1.169 MB / 1.341 GB, free: 6.605 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/1.097, allocations: 0.9068 MB / 1.342 GB, free: 5.695 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000942/1.098, allocations: 394.9 kB / 1.343 GB, free: 5.309 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001342/1.099, allocations: 1.27 MB / 1.344 GB, free: 4.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006982/1.1, allocations: 0.539 MB / 1.345 GB, free: 3.488 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009329/1.101, allocations: 0.7441 MB / 1.345 GB, free: 2.742 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/1.102, allocations: 0.9839 MB / 1.346 GB, free: 1.754 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.102, allocations: 64 kB / 1.346 GB, free: 1.691 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/1.102, allocations: 112 kB / 1.346 GB, free: 1.582 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/1.103, allocations: 324.7 kB / 1.347 GB, free: 1.266 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/1.103, allocations: 389.5 kB / 1.347 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.104, allocations: 1.233 MB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/1.104, allocations: 4 kB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.172e-06/1.104, allocations: 0 / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.104, allocations: 0 / 1.348 GB, free: 15.64 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.002421/1.107, allocations: 1.497 MB / 1.35 GB, free: 14.11 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.107, allocations: 8.031 kB / 1.35 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/1.107, allocations: 140 kB / 1.35 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/1.108, allocations: 0.618 MB / 1.35 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/1.108, allocations: 96.39 kB / 1.351 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/1.108, allocations: 48 kB / 1.351 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/1.109, allocations: 0.5261 MB / 1.351 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/1.109, allocations: 4 kB / 1.351 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/1.109, allocations: 19.98 kB / 1.351 GB, free: 12.59 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.109, allocations: 8 kB / 1.351 GB, free: 12.58 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/1.11, allocations: 419.7 kB / 1.352 GB, free: 12.17 MB / 1.201 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.003196/1.113, allocations: 1.845 MB / 1.353 GB, free: 10.28 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.114, allocations: 424.8 kB / 1.354 GB, free: 9.855 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/1.115, allocations: 270 kB / 1.354 GB, free: 9.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/1.115, allocations: 4.328 kB / 1.354 GB, free: 9.586 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/1.115, allocations: 294.8 kB / 1.354 GB, free: 9.289 MB / 1.201 GB Notification: Performance of pre-optimization done (n=45): time 1.864e-06/1.115, allocations: 448 / 1.354 GB, free: 9.289 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.002912/1.118, allocations: 1.126 MB / 1.355 GB, free: 8.148 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.118, allocations: 63.41 kB / 1.355 GB, free: 8.074 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/1.12, allocations: 1.751 MB / 1.357 GB, free: 6.312 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/1.12, allocations: 41.64 kB / 1.357 GB, free: 6.266 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/1.121, allocations: 0.5142 MB / 1.358 GB, free: 5.746 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/1.121, allocations: 162.7 kB / 1.358 GB, free: 5.586 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.121, allocations: 94.34 kB / 1.358 GB, free: 5.488 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.121, allocations: 326 kB / 1.358 GB, free: 5.164 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/1.122, allocations: 221.2 kB / 1.358 GB, free: 4.945 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/1.122, allocations: 329.8 kB / 1.359 GB, free: 4.582 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/1.123, allocations: 0.5165 MB / 1.359 GB, free: 4.027 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.123, allocations: 8 kB / 1.359 GB, free: 4.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001645/1.125, allocations: 0.8521 MB / 1.36 GB, free: 3.16 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.125, allocations: 8 kB / 1.36 GB, free: 3.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.125, allocations: 0 / 1.36 GB, free: 3.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/1.126, allocations: 187.8 kB / 1.36 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/1.126, allocations: 91.88 kB / 1.36 GB, free: 2.879 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/1.13, allocations: 2.84 MB / 1.363 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/1.13, allocations: 67.7 kB / 1.363 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.13, allocations: 23.98 kB / 1.363 GB, free: 15.85 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.0004671/1.13, allocations: 387.6 kB / 1.364 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.131, allocations: 127.1 kB / 1.364 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.132, allocations: 0.7683 MB / 1.365 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.132, allocations: 4 kB / 1.365 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.132, allocations: 4 kB / 1.365 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.132, allocations: 3.984 kB / 1.365 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/1.134, allocations: 1.441 MB / 1.366 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.135, allocations: 7.938 kB / 1.366 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.135, allocations: 43.97 kB / 1.366 GB, free: 13.01 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/1.135, allocations: 192.4 kB / 1.366 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/1.135, allocations: 15.94 kB / 1.366 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/1.14, allocations: 4.268 MB / 1.37 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.14, allocations: 0 / 1.37 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.142, allocations: 1.086 MB / 1.371 GB, free: 7.227 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/1.143, allocations: 155 kB / 1.372 GB, free: 7.074 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/1.143, allocations: 12 kB / 1.372 GB, free: 7.062 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.143, allocations: 31.91 kB / 1.372 GB, free: 7.031 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/1.143, allocations: 64.33 kB / 1.372 GB, free: 6.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/1.143, allocations: 15.98 kB / 1.372 GB, free: 6.953 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001637/1.145, allocations: 1.284 MB / 1.373 GB, free: 5.664 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.145, allocations: 0 / 1.373 GB, free: 5.664 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007769/1.146, allocations: 211.7 kB / 1.373 GB, free: 5.457 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: 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.001916/1.148, allocations: 0.498 MB / 1.374 GB, free: 5.168 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.149, allocations: 0.7075 MB / 1.374 GB, free: 4.445 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.149, allocations: 0 / 1.374 GB, free: 4.445 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009364/1.15, allocations: 0.5511 MB / 1.375 GB, free: 3.867 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/1.151, allocations: 194 kB / 1.375 GB, free: 3.688 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/1.155, allocations: 2.429 MB / 1.377 GB, free: 1.227 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/1.156, allocations: 0.5622 MB / 1.378 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002664/1.156, allocations: 84.62 kB / 1.378 GB, free: 0.543 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/1.156, allocations: 48.48 kB / 1.378 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of SimCode: time 3.21e-07/1.156, allocations: 0 / 1.378 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of Templates: time 0.02157/1.177, allocations: 10.83 MB / 1.389 GB, free: 5.859 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.281746607273817]