Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_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_11_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.001534/0.001534, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.00152/0.00152, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 64.27 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6759/1.012, allocations: 155.1 MB / 1.216 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03027/1.043, allocations: 21.74 MB / 1.237 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/1.046, allocations: 55.69 kB / 1.237 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002994/1.049, allocations: 2.117 MB / 1.239 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/1.051, allocations: 1.367 MB / 1.24 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/1.053, allocations: 0.5201 MB / 1.241 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00256/1.056, allocations: 1.824 MB / 1.243 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.057, allocations: 1.094 MB / 1.244 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/1.059, allocations: 0.888 MB / 1.245 GB, free: 464 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/1.061, allocations: 1.596 MB / 1.246 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/1.061, allocations: 92 kB / 1.246 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/1.062, allocations: 135.9 kB / 1.246 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/1.062, allocations: 0.5586 MB / 1.247 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008235/1.063, allocations: 0.7758 MB / 1.248 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/1.065, allocations: 1.423 MB / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.065, allocations: 0 / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/1.065, allocations: 0 / 1.249 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.313e-05/1.065, allocations: 0 / 1.249 GB, free: 11.86 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.003767/1.069, allocations: 2.284 MB / 1.251 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.069, allocations: 8.031 kB / 1.251 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/1.069, allocations: 230 kB / 1.251 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/1.07, allocations: 1.003 MB / 1.252 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.071, allocations: 83 kB / 1.252 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.071, allocations: 67.98 kB / 1.253 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.072, allocations: 0.7329 MB / 1.253 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/1.072, allocations: 0 / 1.253 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/1.072, allocations: 24 kB / 1.253 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.072, allocations: 16 kB / 1.253 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/1.074, allocations: 0.5946 MB / 1.254 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006105/1.08, allocations: 3.525 MB / 1.257 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.082, allocations: 0.706 MB / 1.258 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/1.082, allocations: 415.5 kB / 1.258 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/1.082, allocations: 8.562 kB / 1.258 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008815/1.083, allocations: 430.9 kB / 1.259 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 3.296e-06/1.083, allocations: 0 / 1.259 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.004559/1.088, allocations: 1.796 MB / 1.261 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/1.088, allocations: 59.97 kB / 1.261 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/1.092, allocations: 3.308 MB / 1.264 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/1.092, allocations: 41.7 kB / 1.264 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/1.093, allocations: 0.9016 MB / 1.265 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/1.094, allocations: 220.9 kB / 1.265 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/1.094, allocations: 122.7 kB / 1.265 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.094, allocations: 338 kB / 1.265 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/1.095, allocations: 305.8 kB / 1.266 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/1.095, allocations: 438.4 kB / 1.266 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.097, allocations: 0.7131 MB / 1.267 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.097, allocations: 0 / 1.267 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002563/1.099, allocations: 1.206 MB / 1.268 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.099, allocations: 11.94 kB / 1.268 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.099, allocations: 4 kB / 1.268 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/1.1, allocations: 265.6 kB / 1.268 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/1.101, allocations: 135.8 kB / 1.268 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/1.107, allocations: 4.771 MB / 1.273 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/1.107, allocations: 103.4 kB / 1.273 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/1.107, allocations: 24 kB / 1.273 GB, free: 2.109 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.000922/1.108, allocations: 0.6084 MB / 1.274 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.109, allocations: 209.4 kB / 1.274 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/1.109, allocations: 252.5 kB / 1.274 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.109, allocations: 8 kB / 1.274 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.109, allocations: 7.938 kB / 1.274 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.109, allocations: 3.984 kB / 1.274 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/1.113, allocations: 2.342 MB / 1.277 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.113, allocations: 0 / 1.277 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/1.113, allocations: 67.89 kB / 1.277 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006677/1.114, allocations: 245.5 kB / 1.277 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/1.114, allocations: 23.98 kB / 1.277 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/1.12, allocations: 4.764 MB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.12, allocations: 0 / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/1.123, allocations: 1.579 MB / 1.283 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/1.124, allocations: 306.4 kB / 1.283 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.124, allocations: 16 kB / 1.283 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/1.124, allocations: 59.73 kB / 1.283 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.124, allocations: 72.45 kB / 1.284 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/1.125, allocations: 23.98 kB / 1.284 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002975/1.128, allocations: 2.427 MB / 1.286 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.128, allocations: 0 / 1.286 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001103/1.129, allocations: 284.3 kB / 1.286 GB, free: 4.418 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.001823/1.13, allocations: 0.494 MB / 1.287 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.133, allocations: 1.151 MB / 1.288 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.133, allocations: 0 / 1.288 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.134, allocations: 0.6898 MB / 1.288 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.136, allocations: 291.3 kB / 1.289 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/1.143, allocations: 4.622 MB / 1.293 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.144, allocations: 1.516 MB / 1.295 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.145, allocations: 71.36 kB / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of SimCode: time 1.233e-06/1.145, allocations: 0 / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of Templates: time 0.04659/1.191, allocations: 31.46 MB / 1.326 GB, free: 12.23 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches