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.001367/0.001367, allocations: 110 kB / 16.46 MB, free: 6.453 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.001408/0.001408, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.303/3.303, allocations: 0.4899 GB / 0.7915 GB, free: 33.42 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.00205/0.00205, allocations: 69.59 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1948/0.5353, allocations: 160.6 MB / 1.478 GB, free: 1.621 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.5636, allocations: 22 MB / 1.5 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.5656, allocations: 75.38 kB / 1.5 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.5675, allocations: 1.348 MB / 1.501 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.5694, allocations: 1.035 MB / 1.502 GB, free: 9.094 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.5705, allocations: 422.8 kB / 1.502 GB, free: 8.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.5725, allocations: 1.465 MB / 1.504 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5735, allocations: 0.6601 MB / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5745, allocations: 0.6775 MB / 1.505 GB, free: 5.848 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.5761, allocations: 1.207 MB / 1.506 GB, free: 4.637 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5762, allocations: 72 kB / 1.506 GB, free: 4.566 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.5765, allocations: 124 kB / 1.506 GB, free: 4.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.5769, allocations: 388.1 kB / 1.507 GB, free: 4.066 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.5774, allocations: 0.5665 MB / 1.507 GB, free: 3.496 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.579, allocations: 1.388 MB / 1.509 GB, free: 2.102 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.579, allocations: 0 / 1.509 GB, free: 2.102 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.579, allocations: 0 / 1.509 GB, free: 2.102 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.579, allocations: 4 kB / 1.509 GB, free: 2.098 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002887/0.5819, allocations: 1.754 MB / 1.51 GB, free: 296 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.582, allocations: 19.98 kB / 1.51 GB, free: 276 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.5822, allocations: 167.9 kB / 1.511 GB, free: 108 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5833, allocations: 0.7768 MB / 1.511 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.5835, allocations: 78.69 kB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.5836, allocations: 55.95 kB / 1.512 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5847, allocations: 0.5808 MB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5847, allocations: 0 / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.5848, allocations: 16 kB / 1.512 GB, free: 14.53 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.5848, allocations: 12 kB / 1.512 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.5858, allocations: 447.7 kB / 1.513 GB, free: 14.09 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.004242/0.59, allocations: 3.019 MB / 1.516 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.5912, allocations: 473.3 kB / 1.516 GB, free: 10.32 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.5919, allocations: 289.4 kB / 1.516 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.5919, allocations: 8.375 kB / 1.516 GB, free: 10.03 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.5926, allocations: 329.1 kB / 1.517 GB, free: 9.691 MB / 1.217 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/0.5926, allocations: 0 / 1.517 GB, free: 9.691 MB / 1.217 GB Notification: Performance of matching and sorting (n=52): time 0.003484/0.5961, allocations: 1.345 MB / 1.518 GB, free: 8.297 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.5962, allocations: 63.83 kB / 1.518 GB, free: 8.219 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.5987, allocations: 2.157 MB / 1.52 GB, free: 6.051 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.5988, allocations: 37.7 kB / 1.52 GB, free: 6.008 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.5994, allocations: 0.6329 MB / 1.521 GB, free: 5.371 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.5996, allocations: 178.6 kB / 1.521 GB, free: 5.195 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.5998, allocations: 106.9 kB / 1.521 GB, free: 5.086 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5999, allocations: 326 kB / 1.521 GB, free: 4.762 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.6005, allocations: 237.2 kB / 1.521 GB, free: 4.531 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.6012, allocations: 341.9 kB / 1.522 GB, free: 4.156 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6023, allocations: 0.5475 MB / 1.522 GB, free: 3.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6023, allocations: 3.938 kB / 1.522 GB, free: 3.566 MB / 1.217 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00197/0.6043, allocations: 0.9278 MB / 1.523 GB, free: 2.629 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6043, allocations: 4 kB / 1.523 GB, free: 2.625 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.6043, allocations: 4 kB / 1.523 GB, free: 2.621 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.6049, allocations: 198.9 kB / 1.523 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.6053, allocations: 103.8 kB / 1.524 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.6094, allocations: 3.058 MB / 1.527 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.6099, allocations: 71.59 kB / 1.527 GB, free: 15.06 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.61, allocations: 32.05 kB / 1.527 GB, free: 15.03 MB / 1.232 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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.0006057/0.6106, allocations: 437.8 kB / 1.527 GB, free: 14.6 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.6108, allocations: 151 kB / 1.527 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.6111, allocations: 170.3 kB / 1.527 GB, free: 14.28 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6111, allocations: 7.938 kB / 1.527 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.6111, allocations: 4 kB / 1.527 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.6111, allocations: 3.984 kB / 1.527 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.6142, allocations: 1.731 MB / 1.529 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6142, allocations: 0 / 1.529 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.6144, allocations: 55.91 kB / 1.529 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/0.6149, allocations: 197.5 kB / 1.529 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.615, allocations: 19.98 kB / 1.529 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005187/0.6202, allocations: 4.6 MB / 1.534 GB, free: 7.32 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6202, allocations: 0 / 1.534 GB, free: 7.32 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.6224, allocations: 1.168 MB / 1.535 GB, free: 6.125 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.6228, allocations: 252 kB / 1.535 GB, free: 5.859 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6229, allocations: 12 kB / 1.535 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.6232, allocations: 35.89 kB / 1.535 GB, free: 5.812 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6234, allocations: 60.36 kB / 1.535 GB, free: 5.754 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.6235, allocations: 19.98 kB / 1.535 GB, free: 5.734 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001909/0.6254, allocations: 1.565 MB / 1.537 GB, free: 4.172 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6254, allocations: 0 / 1.537 GB, free: 4.172 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000835/0.6262, allocations: 227.7 kB / 1.537 GB, free: 3.949 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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.001876/0.6281, allocations: 491.8 kB / 1.538 GB, free: 3.652 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.6298, allocations: 0.7333 MB / 1.538 GB, free: 2.906 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6298, allocations: 4 kB / 1.538 GB, free: 2.902 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6309, allocations: 0.5664 MB / 1.539 GB, free: 2.305 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6321, allocations: 241.8 kB / 1.539 GB, free: 2.078 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.6369, allocations: 2.847 MB / 1.542 GB, free: 15.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.638, allocations: 1.262 MB / 1.543 GB, free: 13.91 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.6384, allocations: 105.1 kB / 1.543 GB, free: 13.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6385, allocations: 51.42 kB / 1.543 GB, free: 13.75 MB / 1.248 GB Notification: Performance of SimCode: time 7.41e-07/0.6385, allocations: 0 / 1.543 GB, free: 13.75 MB / 1.248 GB Notification: Performance of Templates: time 0.02541/0.6639, allocations: 11.79 MB / 1.555 GB, free: 2.09 MB / 1.248 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/jenkins/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: 10.388866692781448]