Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001379/0.001379, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001484/0.001484, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.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 3.33/3.33, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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.TestCase6,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.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_latest_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.002128/0.002128, allocations: 71.42 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1857/0.5026, allocations: 138.8 MB / 1.499 GB, free: 2.309 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03069/0.5333, allocations: 19.84 MB / 1.519 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.5355, allocations: 75.44 kB / 1.519 GB, free: 14.35 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.5378, allocations: 1.356 MB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.54, allocations: 1.039 MB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.5413, allocations: 426.8 kB / 1.522 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.5435, allocations: 1.465 MB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.5447, allocations: 0.6293 MB / 1.524 GB, free: 9.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5461, allocations: 0.6698 MB / 1.524 GB, free: 8.738 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5478, allocations: 1.183 MB / 1.525 GB, free: 7.551 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.5481, allocations: 72 kB / 1.525 GB, free: 7.48 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.5485, allocations: 131.9 kB / 1.526 GB, free: 7.352 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004483/0.549, allocations: 384.4 kB / 1.526 GB, free: 6.977 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006584/0.5496, allocations: 437.1 kB / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5516, allocations: 1.404 MB / 1.528 GB, free: 5.137 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5516, allocations: 0 / 1.528 GB, free: 5.137 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5516, allocations: 0 / 1.528 GB, free: 5.137 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.153e-05/0.5516, allocations: 0 / 1.528 GB, free: 5.137 MB / 1.217 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.00386/0.5555, allocations: 1.732 MB / 1.529 GB, free: 3.363 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5555, allocations: 8.031 kB / 1.529 GB, free: 3.355 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.5559, allocations: 167.9 kB / 1.53 GB, free: 3.191 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5572, allocations: 0.7072 MB / 1.53 GB, free: 2.445 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.5574, allocations: 116.3 kB / 1.53 GB, free: 2.32 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5575, allocations: 48 kB / 1.53 GB, free: 2.273 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5587, allocations: 0.5731 MB / 1.531 GB, free: 1.688 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5587, allocations: 0 / 1.531 GB, free: 1.688 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.5588, allocations: 20 kB / 1.531 GB, free: 1.668 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5588, allocations: 12 kB / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.5599, allocations: 455.6 kB / 1.531 GB, free: 1.211 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.004462/0.5644, allocations: 1.966 MB / 1.533 GB, free: 15.2 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5656, allocations: 477.1 kB / 1.534 GB, free: 14.72 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.5663, allocations: 293.9 kB / 1.534 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.5663, allocations: 8.375 kB / 1.534 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.567, allocations: 337.1 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.567, allocations: 0 / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=52): time 0.003475/0.5705, allocations: 1.202 MB / 1.536 GB, free: 12.87 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.5705, allocations: 63.83 kB / 1.536 GB, free: 12.8 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.5734, allocations: 2.136 MB / 1.538 GB, free: 10.64 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.5735, allocations: 41.7 kB / 1.538 GB, free: 10.6 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.5741, allocations: 0.6209 MB / 1.538 GB, free: 9.973 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.5743, allocations: 178.5 kB / 1.539 GB, free: 9.797 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.5745, allocations: 106.3 kB / 1.539 GB, free: 9.684 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5747, allocations: 333.9 kB / 1.539 GB, free: 9.352 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.5753, allocations: 237.2 kB / 1.539 GB, free: 9.121 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.5759, allocations: 353.8 kB / 1.54 GB, free: 8.734 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.5771, allocations: 0.5494 MB / 1.54 GB, free: 8.148 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.5771, allocations: 3.984 kB / 1.54 GB, free: 8.145 MB / 1.232 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002023/0.5791, allocations: 0.9187 MB / 1.541 GB, free: 7.215 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5791, allocations: 10.34 kB / 1.541 GB, free: 7.207 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5791, allocations: 4 kB / 1.541 GB, free: 7.203 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.5797, allocations: 187.7 kB / 1.541 GB, free: 7.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.5801, allocations: 107.8 kB / 1.541 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/0.5844, allocations: 2.898 MB / 1.544 GB, free: 3.91 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.5851, allocations: 75.56 kB / 1.544 GB, free: 3.836 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.5852, allocations: 24 kB / 1.544 GB, free: 3.812 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,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.0008427/0.586, allocations: 440.2 kB / 1.545 GB, free: 3.375 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.5863, allocations: 147 kB / 1.545 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.5883, allocations: 0.8645 MB / 1.546 GB, free: 2.352 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5883, allocations: 7.938 kB / 1.546 GB, free: 2.344 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5883, allocations: 4 kB / 1.546 GB, free: 2.34 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.5883, allocations: 3.984 kB / 1.546 GB, free: 2.336 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.5916, allocations: 1.616 MB / 1.547 GB, free: 0.6719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.5916, allocations: 3.938 kB / 1.547 GB, free: 0.668 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.5919, allocations: 55.89 kB / 1.547 GB, free: 0.6133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.5924, allocations: 203.9 kB / 1.547 GB, free: 420 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.5925, allocations: 15.98 kB / 1.548 GB, free: 404 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.5976, allocations: 4.284 MB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5976, allocations: 3.969 kB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6, allocations: 1.2 MB / 1.553 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.6004, allocations: 170.9 kB / 1.553 GB, free: 10.52 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.6006, allocations: 23.94 kB / 1.553 GB, free: 10.49 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.601, allocations: 35.95 kB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.6012, allocations: 60.33 kB / 1.553 GB, free: 10.4 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.6012, allocations: 23.98 kB / 1.553 GB, free: 10.38 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002004/0.6032, allocations: 1.56 MB / 1.555 GB, free: 8.816 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6032, allocations: 0 / 1.555 GB, free: 8.816 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009199/0.6042, allocations: 227.7 kB / 1.555 GB, free: 8.594 MB / 1.248 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.00209/0.6062, allocations: 0.5189 MB / 1.555 GB, free: 8.281 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.6081, allocations: 0.7463 MB / 1.556 GB, free: 7.523 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6081, allocations: 0 / 1.556 GB, free: 7.523 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.6092, allocations: 0.5664 MB / 1.557 GB, free: 6.93 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6104, allocations: 230.9 kB / 1.557 GB, free: 6.719 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.6153, allocations: 2.866 MB / 1.56 GB, free: 3.812 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/0.6161, allocations: 0.6671 MB / 1.56 GB, free: 3.117 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.6165, allocations: 97 kB / 1.56 GB, free: 3.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.6166, allocations: 51.42 kB / 1.561 GB, free: 2.969 MB / 1.248 GB Notification: Performance of SimCode: time 8.52e-07/0.6166, allocations: 0 / 1.561 GB, free: 2.969 MB / 1.248 GB Notification: Performance of Templates: time 0.02676/0.6434, allocations: 13.38 MB / 1.574 GB, free: 5.797 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.47512086480856]