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.001194/0.001194, allocations: 80.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.001289/0.001289, allocations: 181.2 kB / 23.22 MB, free: 1.32 MB / 18.57 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 0.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.385e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.644/0.6441, allocations: 138.7 MB / 1.118 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.665, allocations: 19.83 MB / 1.137 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.6675, allocations: 71.97 kB / 1.137 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.6693, allocations: 1.354 MB / 1.138 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.6714, allocations: 1.06 MB / 1.139 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.6727, allocations: 424 kB / 1.14 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.6746, allocations: 1.5 MB / 1.141 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009372/0.6755, allocations: 0.6387 MB / 1.142 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.6768, allocations: 0.8349 MB / 1.143 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.6783, allocations: 1.139 MB / 1.144 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.6785, allocations: 74.41 kB / 1.144 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.6788, allocations: 124.1 kB / 1.144 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.6791, allocations: 390.4 kB / 1.144 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.6794, allocations: 327.5 kB / 1.145 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.681, allocations: 1.353 MB / 1.146 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.6811, allocations: 0 / 1.146 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6811, allocations: 1.156 kB / 1.146 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.705e-05/0.6811, allocations: 0 / 1.146 GB, free: 2.43 MB / 0.9948 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.002551/0.6837, allocations: 1.713 MB / 1.148 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6837, allocations: 9.219 kB / 1.148 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.684, allocations: 170 kB / 1.148 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.6848, allocations: 0.6938 MB / 1.149 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.6849, allocations: 111.1 kB / 1.149 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.685, allocations: 50.83 kB / 1.149 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.6859, allocations: 0.5708 MB / 1.149 GB, free: 384 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6859, allocations: 7.938 kB / 1.149 GB, free: 376 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.6859, allocations: 18.45 kB / 1.149 GB, free: 364 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.6859, allocations: 11.5 kB / 1.149 GB, free: 364 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.6866, allocations: 450.1 kB / 1.15 GB, free: 220 kB / 0.9948 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.00295/0.6896, allocations: 1.959 MB / 1.152 GB, free: 15.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.6904, allocations: 489.1 kB / 1.152 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.6908, allocations: 293.9 kB / 1.152 GB, free: 14.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.6909, allocations: 5.938 kB / 1.152 GB, free: 14.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004883/0.6913, allocations: 341.3 kB / 1.153 GB, free: 14.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=52): time 2.585e-06/0.6914, allocations: 0 / 1.153 GB, free: 14.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=52): time 0.002325/0.6937, allocations: 1.219 MB / 1.154 GB, free: 14.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.6937, allocations: 59.47 kB / 1.154 GB, free: 14.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.6962, allocations: 2.133 MB / 1.156 GB, free: 13.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.6963, allocations: 39.39 kB / 1.156 GB, free: 13.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.6967, allocations: 0.6236 MB / 1.157 GB, free: 13.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.6969, allocations: 170.2 kB / 1.157 GB, free: 12.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.697, allocations: 104.1 kB / 1.157 GB, free: 12.87 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.6971, allocations: 336.7 kB / 1.157 GB, free: 12.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.6975, allocations: 238.3 kB / 1.157 GB, free: 12.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.698, allocations: 353.5 kB / 1.158 GB, free: 12.29 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.6987, allocations: 0.5585 MB / 1.158 GB, free: 11.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.6987, allocations: 1.219 kB / 1.158 GB, free: 11.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001366/0.7001, allocations: 0.9306 MB / 1.159 GB, free: 11.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7001, allocations: 6.031 kB / 1.159 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.7001, allocations: 3.484 kB / 1.159 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.7005, allocations: 186.8 kB / 1.159 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.7007, allocations: 108 kB / 1.16 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.7035, allocations: 2.884 MB / 1.162 GB, free: 9.469 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.704, allocations: 76.81 kB / 1.162 GB, free: 9.434 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.7041, allocations: 20.86 kB / 1.162 GB, free: 9.43 MB / 1.01 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.000759/0.7048, allocations: 449.8 kB / 1.163 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.705, allocations: 142.5 kB / 1.163 GB, free: 9.133 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.7063, allocations: 0.8646 MB / 1.164 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.7063, allocations: 5.562 kB / 1.164 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7063, allocations: 2.891 kB / 1.164 GB, free: 8.793 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7063, allocations: 8.156 kB / 1.164 GB, free: 8.789 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.7089, allocations: 1.609 MB / 1.165 GB, free: 8.051 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7089, allocations: 1.469 kB / 1.165 GB, free: 8.051 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.7091, allocations: 58.97 kB / 1.166 GB, free: 8.043 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.7094, allocations: 205.9 kB / 1.166 GB, free: 7.973 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.7095, allocations: 18.94 kB / 1.166 GB, free: 7.961 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.7129, allocations: 4.285 MB / 1.17 GB, free: 4.496 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7129, allocations: 1.719 kB / 1.17 GB, free: 4.496 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.7146, allocations: 1.205 MB / 1.171 GB, free: 3.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.7149, allocations: 171 kB / 1.171 GB, free: 3.824 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.715, allocations: 16.97 kB / 1.171 GB, free: 3.812 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7152, allocations: 31 kB / 1.171 GB, free: 3.805 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.7153, allocations: 63.28 kB / 1.171 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.7154, allocations: 25.78 kB / 1.171 GB, free: 3.785 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00181/0.7172, allocations: 1.56 MB / 1.173 GB, free: 3.277 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7172, allocations: 0 / 1.173 GB, free: 3.277 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008309/0.718, allocations: 232.8 kB / 1.173 GB, free: 3.23 MB / 1.01 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.0009899/0.719, allocations: 0.5228 MB / 1.174 GB, free: 3.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.7203, allocations: 0.7456 MB / 1.174 GB, free: 2.695 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7203, allocations: 5.375 kB / 1.174 GB, free: 2.691 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.7209, allocations: 0.5635 MB / 1.175 GB, free: 2.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.7217, allocations: 227.3 kB / 1.175 GB, free: 2.254 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.7256, allocations: 2.845 MB / 1.178 GB, free: 1.012 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.7262, allocations: 0.6508 MB / 1.179 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7263, allocations: 52.36 kB / 1.179 GB, free: 0.832 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.7263, allocations: 4 kB / 1.179 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of Templates: time 0.02269/0.749, allocations: 21.3 MB / 1.199 GB, free: 7.789 MB / 1.026 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: 9.72459077462554]