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.001399/0.001399, 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.001584/0.001584, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.334/3.334, allocations: 0.49 GB / 0.7958 GB, free: 33.31 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.002121/0.002121, allocations: 66.86 kB / 1.155 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4429, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2254/0.6682, allocations: 160.8 MB / 1.484 GB, free: 12 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03446/0.7027, allocations: 22.05 MB / 1.506 GB, free: 9.902 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.7053, allocations: 75.38 kB / 1.506 GB, free: 9.828 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.7073, allocations: 1.348 MB / 1.507 GB, free: 8.477 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.7098, allocations: 1.051 MB / 1.508 GB, free: 7.422 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.7111, allocations: 454.4 kB / 1.509 GB, free: 6.977 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.7133, allocations: 1.469 MB / 1.51 GB, free: 5.5 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7146, allocations: 0.6449 MB / 1.511 GB, free: 4.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.7159, allocations: 0.6698 MB / 1.511 GB, free: 4.168 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.7176, allocations: 1.222 MB / 1.512 GB, free: 2.941 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.7177, allocations: 76 kB / 1.513 GB, free: 2.867 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.7181, allocations: 116 kB / 1.513 GB, free: 2.754 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.7185, allocations: 384.2 kB / 1.513 GB, free: 2.379 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005988/0.7191, allocations: 0.5665 MB / 1.514 GB, free: 1.809 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.7214, allocations: 1.388 MB / 1.515 GB, free: 424 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7214, allocations: 0 / 1.515 GB, free: 424 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7214, allocations: 0 / 1.515 GB, free: 424 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.7214, allocations: 0 / 1.515 GB, free: 424 kB / 1.201 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.003157/0.7245, allocations: 1.728 MB / 1.517 GB, free: 14.64 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7246, allocations: 12.03 kB / 1.517 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.7249, allocations: 171.8 kB / 1.517 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.7263, allocations: 0.6995 MB / 1.517 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.7264, allocations: 104.4 kB / 1.518 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.7265, allocations: 59.94 kB / 1.518 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.7276, allocations: 0.5653 MB / 1.518 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7276, allocations: 3.938 kB / 1.518 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.7277, allocations: 24 kB / 1.518 GB, free: 12.95 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.7277, allocations: 12 kB / 1.518 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.7286, allocations: 443.7 kB / 1.519 GB, free: 12.5 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.004435/0.7331, allocations: 2.971 MB / 1.522 GB, free: 9.266 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.7342, allocations: 468 kB / 1.522 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.7348, allocations: 297.4 kB / 1.522 GB, free: 8.508 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.7349, allocations: 4.375 kB / 1.522 GB, free: 8.504 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.7355, allocations: 325.2 kB / 1.523 GB, free: 8.172 MB / 1.217 GB Notification: Performance of pre-optimization done (n=52): time 2.805e-06/0.7355, allocations: 4 kB / 1.523 GB, free: 8.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=52): time 0.00327/0.7388, allocations: 1.206 MB / 1.524 GB, free: 6.949 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.7389, allocations: 64.38 kB / 1.524 GB, free: 6.871 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.7414, allocations: 2.153 MB / 1.526 GB, free: 4.707 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.7415, allocations: 37.7 kB / 1.526 GB, free: 4.664 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.7421, allocations: 0.6368 MB / 1.527 GB, free: 4.023 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.7423, allocations: 170.6 kB / 1.527 GB, free: 3.855 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.7424, allocations: 106.3 kB / 1.527 GB, free: 3.742 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7426, allocations: 330 kB / 1.527 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.7431, allocations: 237.2 kB / 1.527 GB, free: 3.184 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.7437, allocations: 349.8 kB / 1.528 GB, free: 2.801 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.745, allocations: 0.5502 MB / 1.528 GB, free: 2.215 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.745, allocations: 0 / 1.528 GB, free: 2.215 MB / 1.217 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001878/0.7469, allocations: 0.9109 MB / 1.529 GB, free: 1.293 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7469, allocations: 12.03 kB / 1.529 GB, free: 1.281 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7469, allocations: 4 kB / 1.529 GB, free: 1.277 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.7475, allocations: 190.2 kB / 1.529 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.7479, allocations: 103.8 kB / 1.529 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.752, allocations: 2.961 MB / 1.532 GB, free: 13.92 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.7526, allocations: 79.62 kB / 1.532 GB, free: 13.84 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.7526, allocations: 24 kB / 1.532 GB, free: 13.82 MB / 1.233 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.0007355/0.7534, allocations: 436.2 kB / 1.533 GB, free: 13.38 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.7536, allocations: 147 kB / 1.533 GB, free: 13.24 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.7554, allocations: 0.8475 MB / 1.534 GB, free: 12.38 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7554, allocations: 12 kB / 1.534 GB, free: 12.36 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7554, allocations: 4 kB / 1.534 GB, free: 12.36 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.7554, allocations: 3.984 kB / 1.534 GB, free: 12.36 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.7585, allocations: 1.715 MB / 1.536 GB, free: 10.58 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7585, allocations: 0 / 1.536 GB, free: 10.58 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.7587, allocations: 47.97 kB / 1.536 GB, free: 10.54 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.7592, allocations: 197.6 kB / 1.536 GB, free: 10.34 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.7593, allocations: 20 kB / 1.536 GB, free: 10.32 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.7643, allocations: 4.4 MB / 1.54 GB, free: 5.695 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7643, allocations: 0 / 1.54 GB, free: 5.695 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.7666, allocations: 1.167 MB / 1.541 GB, free: 4.504 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.7671, allocations: 174.9 kB / 1.541 GB, free: 4.332 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.7672, allocations: 12 kB / 1.541 GB, free: 4.32 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.7675, allocations: 35.97 kB / 1.541 GB, free: 4.285 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.7677, allocations: 60.31 kB / 1.541 GB, free: 4.227 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.7677, allocations: 16 kB / 1.542 GB, free: 4.211 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.001911/0.7696, allocations: 1.573 MB / 1.543 GB, free: 2.641 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7696, allocations: 3.938 kB / 1.543 GB, free: 2.637 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0008719/0.7705, allocations: 223.7 kB / 1.543 GB, free: 2.418 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: 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 (34): * Single equations (assignments): 24 * 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.001879/0.7724, allocations: 0.4931 MB / 1.544 GB, free: 2.105 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.7741, allocations: 0.7467 MB / 1.544 GB, free: 1.344 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7741, allocations: 0 / 1.544 GB, free: 1.344 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.7752, allocations: 0.5586 MB / 1.545 GB, free: 0.7578 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7763, allocations: 236.2 kB / 1.545 GB, free: 0.5352 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.7813, allocations: 2.91 MB / 1.548 GB, free: 13.58 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.7824, allocations: 1.254 MB / 1.549 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.7826, allocations: 59.36 kB / 1.549 GB, free: 12.23 MB / 1.248 GB Notification: Performance of SimCode: time 1.262e-06/0.7826, allocations: 0 / 1.549 GB, free: 12.23 MB / 1.248 GB Notification: Performance of Templates: time 0.03345/0.816, allocations: 20.76 MB / 1.57 GB, free: 7.5 MB / 1.264 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.738282460020855]