Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004642/0.004642, allocations: 103.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 194.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.042/2.042, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.27 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2229, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1477/0.3706, allocations: 157.5 MB / 1.242 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5735/0.9442, allocations: 22.05 MB / 1.263 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.9464, allocations: 57 kB / 1.263 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.9499, allocations: 2.173 MB / 1.265 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.9528, allocations: 1.452 MB / 1.267 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.9547, allocations: 0.6166 MB / 1.267 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.9578, allocations: 1.931 MB / 1.269 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.9599, allocations: 1.128 MB / 1.27 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.963, allocations: 0.9185 MB / 1.271 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004379/0.9674, allocations: 1.589 MB / 1.273 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.9679, allocations: 97.81 kB / 1.273 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007807/0.9687, allocations: 143.4 kB / 1.273 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.9694, allocations: 0.5525 MB / 1.274 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.9708, allocations: 0.8017 MB / 1.274 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.9731, allocations: 1.932 MB / 1.276 GB, free: 3.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9732, allocations: 0.9375 kB / 1.276 GB, free: 3.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9732, allocations: 0 / 1.276 GB, free: 3.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.942e-05/0.9733, allocations: 4.625 kB / 1.276 GB, free: 3.012 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003783/0.977, allocations: 2.349 MB / 1.279 GB, free: 1.711 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.9771, allocations: 8.781 kB / 1.279 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.9774, allocations: 243.2 kB / 1.279 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.9786, allocations: 1.04 MB / 1.28 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.9787, allocations: 89.92 kB / 1.28 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.9788, allocations: 68.73 kB / 1.28 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.9802, allocations: 0.7849 MB / 1.281 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.9802, allocations: 2.156 kB / 1.281 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.9803, allocations: 27.31 kB / 1.281 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.9803, allocations: 16.41 kB / 1.281 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.9814, allocations: 0.6382 MB / 1.281 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.986, allocations: 3.721 MB / 1.285 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.9874, allocations: 0.738 MB / 1.286 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.9882, allocations: 434.1 kB / 1.286 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.9883, allocations: 12.23 kB / 1.286 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00076/0.989, allocations: 459 kB / 1.287 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.989, allocations: 0.8438 kB / 1.287 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=73): time 0.003929/0.993, allocations: 1.832 MB / 1.288 GB, free: 14.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.993, allocations: 60.69 kB / 1.289 GB, free: 14.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.9965, allocations: 3.358 MB / 1.292 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.9966, allocations: 48.17 kB / 1.292 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.9973, allocations: 0.9249 MB / 1.293 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.9975, allocations: 240.7 kB / 1.293 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.9977, allocations: 134.5 kB / 1.293 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9978, allocations: 344 kB / 1.293 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.9984, allocations: 318.8 kB / 1.294 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.999, allocations: 469.6 kB / 1.294 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1, allocations: 0.7519 MB / 1.295 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1, allocations: 1.875 kB / 1.295 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002128/1.002, allocations: 1.259 MB / 1.296 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.002, allocations: 6.938 kB / 1.296 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.002, allocations: 3.594 kB / 1.296 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/1.003, allocations: 258.9 kB / 1.296 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/1.003, allocations: 139.6 kB / 1.297 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/1.008, allocations: 4.741 MB / 1.301 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/1.009, allocations: 102.3 kB / 1.301 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/1.009, allocations: 29.34 kB / 1.301 GB, free: 10.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.01, allocations: 0.6105 MB / 1.302 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/1.01, allocations: 213.4 kB / 1.302 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/1.011, allocations: 261.3 kB / 1.302 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.011, allocations: 8.406 kB / 1.302 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/1.011, allocations: 11.34 kB / 1.302 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.011, allocations: 4.672 kB / 1.302 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/1.017, allocations: 2.41 MB / 1.305 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.017, allocations: 0 / 1.305 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/1.017, allocations: 73.39 kB / 1.305 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007516/1.018, allocations: 249.9 kB / 1.305 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/1.018, allocations: 19.83 kB / 1.305 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/1.023, allocations: 4.745 MB / 1.31 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.023, allocations: 0 / 1.31 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/1.026, allocations: 1.633 MB / 1.311 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007029/1.027, allocations: 324.7 kB / 1.312 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.027, allocations: 19.34 kB / 1.312 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.028, allocations: 40.17 kB / 1.312 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.028, allocations: 79.44 kB / 1.312 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/1.028, allocations: 23.98 kB / 1.312 GB, free: 6.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002795/1.031, allocations: 2.461 MB / 1.314 GB, free: 6.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.031, allocations: 0 / 1.314 GB, free: 6.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00105/1.032, allocations: 300.2 kB / 1.314 GB, free: 6.215 MB / 1.029 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001101/1.033, allocations: 498.5 kB / 1.315 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.035, allocations: 1.098 MB / 1.316 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.035, allocations: 0 / 1.316 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.036, allocations: 0.7011 MB / 1.317 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.038, allocations: 298.5 kB / 1.317 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/1.044, allocations: 4.09 MB / 1.321 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.046, allocations: 1.556 MB / 1.322 GB, free: 3.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006003/1.047, allocations: 166 kB / 1.323 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/1.047, allocations: 67.55 kB / 1.323 GB, free: 3.473 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/1.047, allocations: 0 / 1.323 GB, free: 3.473 MB / 1.029 GB Notification: Performance of Templates: time 0.02868/1.076, allocations: 15.62 MB / 1.338 GB, free: 1.176 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches