Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001129/0.001129, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7423 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 70.17 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2935, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6685/0.9621, allocations: 155.1 MB / 1.215 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.9904, allocations: 21.74 MB / 1.236 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.9936, allocations: 51.69 kB / 1.236 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.9965, allocations: 2.113 MB / 1.239 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.9995, allocations: 1.371 MB / 1.24 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/1.001, allocations: 0.5218 MB / 1.24 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002678/1.004, allocations: 1.828 MB / 1.242 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/1.006, allocations: 1.096 MB / 1.243 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.008, allocations: 0.8919 MB / 1.244 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/1.01, allocations: 1.6 MB / 1.246 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003475/1.01, allocations: 92 kB / 1.246 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/1.011, allocations: 136 kB / 1.246 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/1.012, allocations: 0.5548 MB / 1.246 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/1.013, allocations: 0.7641 MB / 1.247 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/1.014, allocations: 1.423 MB / 1.249 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.014, allocations: 0 / 1.249 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/1.014, allocations: 0 / 1.249 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.328e-05/1.014, allocations: 0 / 1.249 GB, free: 12.27 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004105/1.018, allocations: 2.281 MB / 1.251 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.019, allocations: 8.625 kB / 1.251 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/1.019, allocations: 234 kB / 1.251 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.021, allocations: 1.007 MB / 1.252 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/1.021, allocations: 87 kB / 1.252 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.021, allocations: 68 kB / 1.252 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/1.022, allocations: 0.7212 MB / 1.253 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.022, allocations: 8 kB / 1.253 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/1.022, allocations: 23.98 kB / 1.253 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/1.022, allocations: 16 kB / 1.253 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.024, allocations: 0.5945 MB / 1.253 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/1.028, allocations: 3.517 MB / 1.257 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.03, allocations: 0.7099 MB / 1.258 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/1.031, allocations: 411.5 kB / 1.258 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/1.031, allocations: 20.48 kB / 1.258 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007825/1.032, allocations: 418.9 kB / 1.258 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/1.032, allocations: 0 / 1.258 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.004082/1.036, allocations: 1.8 MB / 1.26 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.036, allocations: 67.91 kB / 1.26 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/1.039, allocations: 3.304 MB / 1.263 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/1.039, allocations: 45.69 kB / 1.264 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/1.04, allocations: 0.8937 MB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.04, allocations: 216.9 kB / 1.265 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.041, allocations: 130.7 kB / 1.265 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.041, allocations: 341.9 kB / 1.265 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/1.041, allocations: 301.8 kB / 1.265 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/1.042, allocations: 430.4 kB / 1.266 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.043, allocations: 0.7189 MB / 1.266 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.043, allocations: 7.938 kB / 1.266 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002452/1.046, allocations: 1.212 MB / 1.268 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.046, allocations: 12.03 kB / 1.268 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.046, allocations: 8 kB / 1.268 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/1.047, allocations: 259.2 kB / 1.268 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/1.047, allocations: 131.8 kB / 1.268 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/1.053, allocations: 4.776 MB / 1.273 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/1.053, allocations: 99.39 kB / 1.273 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/1.053, allocations: 24 kB / 1.273 GB, free: 2.504 MB / 0.9825 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008811/1.054, allocations: 0.6107 MB / 1.273 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/1.055, allocations: 201.4 kB / 1.274 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/1.055, allocations: 256.5 kB / 1.274 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.055, allocations: 12 kB / 1.274 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.055, allocations: 4 kB / 1.274 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.055, allocations: 3.984 kB / 1.274 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/1.059, allocations: 2.334 MB / 1.276 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.059, allocations: 0 / 1.276 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.059, allocations: 67.95 kB / 1.276 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006115/1.06, allocations: 253.5 kB / 1.276 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/1.06, allocations: 19.98 kB / 1.276 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/1.065, allocations: 4.762 MB / 1.281 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.065, allocations: 0 / 1.281 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/1.067, allocations: 1.571 MB / 1.283 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/1.068, allocations: 314.3 kB / 1.283 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.068, allocations: 20 kB / 1.283 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/1.069, allocations: 55.73 kB / 1.283 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.069, allocations: 76.39 kB / 1.283 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/1.069, allocations: 23.98 kB / 1.283 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002944/1.072, allocations: 2.427 MB / 1.285 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.072, allocations: 0 / 1.285 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001095/1.073, allocations: 283.6 kB / 1.286 GB, free: 4.816 MB / 0.9981 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001266/1.074, allocations: 0.4977 MB / 1.286 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002487/1.077, allocations: 1.154 MB / 1.287 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.077, allocations: 0 / 1.287 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.078, allocations: 0.6865 MB / 1.288 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.079, allocations: 284 kB / 1.288 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/1.087, allocations: 4.624 MB / 1.293 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.088, allocations: 1.52 MB / 1.294 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.088, allocations: 67.41 kB / 1.294 GB, free: 12.06 MB / 1.014 GB Notification: Performance of SimCode: time 1.222e-06/1.089, allocations: 4 kB / 1.294 GB, free: 12.05 MB / 1.014 GB Notification: Performance of Templates: time 0.04898/1.137, allocations: 31.46 MB / 1.325 GB, free: 12.63 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches