Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase10,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.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_latest_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.001536/0.001536, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001646/0.001646, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 56.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7932, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1676/0.9608, allocations: 157.6 MB / 1.362 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.9883, allocations: 22.07 MB / 1.384 GB, free: 9.23 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.9906, allocations: 59.62 kB / 1.384 GB, free: 9.172 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.9935, allocations: 2.167 MB / 1.386 GB, free: 7 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.996, allocations: 1.46 MB / 1.387 GB, free: 5.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.9978, allocations: 0.6171 MB / 1.388 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002606/1, allocations: 1.957 MB / 1.39 GB, free: 2.957 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/1.002, allocations: 1.123 MB / 1.391 GB, free: 1.812 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/1.004, allocations: 0.9114 MB / 1.392 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/1.006, allocations: 1.6 MB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002654/1.006, allocations: 96 kB / 1.394 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/1.006, allocations: 144 kB / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005018/1.007, allocations: 0.5549 MB / 1.394 GB, free: 14.51 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009082/1.008, allocations: 0.8107 MB / 1.395 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/1.01, allocations: 1.936 MB / 1.397 GB, free: 11.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/1.01, allocations: 4 kB / 1.397 GB, free: 11.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.013e-06/1.01, allocations: 4 kB / 1.397 GB, free: 11.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.479e-05/1.01, allocations: 0 / 1.397 GB, free: 11.75 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004429/1.014, allocations: 2.361 MB / 1.399 GB, free: 9.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.015, allocations: 8.031 kB / 1.399 GB, free: 9.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/1.015, allocations: 244.9 kB / 1.4 GB, free: 9.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/1.017, allocations: 1.047 MB / 1.401 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/1.017, allocations: 99.67 kB / 1.401 GB, free: 7.852 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.017, allocations: 72 kB / 1.401 GB, free: 7.781 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.019, allocations: 0.7854 MB / 1.401 GB, free: 6.984 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/1.019, allocations: 7.906 kB / 1.401 GB, free: 6.977 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/1.019, allocations: 27.94 kB / 1.402 GB, free: 6.949 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/1.019, allocations: 20 kB / 1.402 GB, free: 6.93 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.02, allocations: 0.6375 MB / 1.402 GB, free: 6.293 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/1.025, allocations: 3.737 MB / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.027, allocations: 0.7475 MB / 1.407 GB, free: 1.535 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/1.028, allocations: 431.9 kB / 1.407 GB, free: 1.113 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/1.028, allocations: 12.56 kB / 1.407 GB, free: 1.102 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008075/1.029, allocations: 455.9 kB / 1.407 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of pre-optimization done (n=73): time 2.916e-06/1.029, allocations: 4 kB / 1.407 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of matching and sorting (n=73): time 0.004215/1.033, allocations: 1.826 MB / 1.409 GB, free: 14.76 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.033, allocations: 68 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/1.037, allocations: 3.376 MB / 1.413 GB, free: 11.28 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/1.037, allocations: 41.7 kB / 1.413 GB, free: 11.23 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/1.038, allocations: 0.9292 MB / 1.413 GB, free: 10.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.038, allocations: 236.7 kB / 1.414 GB, free: 10.06 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.038, allocations: 138.7 kB / 1.414 GB, free: 9.922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.038, allocations: 334 kB / 1.414 GB, free: 9.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/1.039, allocations: 325.7 kB / 1.414 GB, free: 9.273 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/1.04, allocations: 468 kB / 1.415 GB, free: 8.77 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.041, allocations: 0.7466 MB / 1.416 GB, free: 7.984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.041, allocations: 3.938 kB / 1.416 GB, free: 7.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002415/1.044, allocations: 1.254 MB / 1.417 GB, free: 6.711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.044, allocations: 8 kB / 1.417 GB, free: 6.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.044, allocations: 4.094 kB / 1.417 GB, free: 6.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/1.044, allocations: 257.5 kB / 1.417 GB, free: 6.441 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.045, allocations: 143.8 kB / 1.417 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005066/1.05, allocations: 4.755 MB / 1.422 GB, free: 1.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/1.051, allocations: 95.23 kB / 1.422 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/1.051, allocations: 32 kB / 1.422 GB, free: 1.148 MB / 1.139 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.0008568/1.052, allocations: 0.6147 MB / 1.423 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/1.052, allocations: 217.2 kB / 1.423 GB, free: 316 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/1.052, allocations: 257.2 kB / 1.423 GB, free: 52 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.052, allocations: 8 kB / 1.423 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.052, allocations: 4 kB / 1.423 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.053, allocations: 3.984 kB / 1.423 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.057, allocations: 2.413 MB / 1.425 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.057, allocations: 7.938 kB / 1.425 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/1.057, allocations: 71.89 kB / 1.426 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/1.058, allocations: 251.4 kB / 1.426 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/1.058, allocations: 15.98 kB / 1.426 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/1.063, allocations: 4.741 MB / 1.43 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.063, allocations: 0 / 1.43 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/1.065, allocations: 1.638 MB / 1.432 GB, free: 6.535 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/1.066, allocations: 314.3 kB / 1.432 GB, free: 6.207 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.066, allocations: 23.98 kB / 1.432 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/1.067, allocations: 35.97 kB / 1.432 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.067, allocations: 80.48 kB / 1.432 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/1.067, allocations: 27.98 kB / 1.432 GB, free: 6.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002787/1.07, allocations: 2.464 MB / 1.435 GB, free: 3.566 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.9e-07/1.07, allocations: 0 / 1.435 GB, free: 3.566 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001019/1.071, allocations: 307.4 kB / 1.435 GB, free: 3.266 MB / 1.154 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.001194/1.072, allocations: 0.4934 MB / 1.436 GB, free: 2.949 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002136/1.074, allocations: 1.09 MB / 1.437 GB, free: 1.832 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.074, allocations: 3.75 kB / 1.437 GB, free: 1.828 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.075, allocations: 0.7027 MB / 1.437 GB, free: 1.094 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.077, allocations: 297.3 kB / 1.438 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00635/1.083, allocations: 4.166 MB / 1.442 GB, free: 12.61 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.085, allocations: 1.552 MB / 1.443 GB, free: 11.03 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/1.085, allocations: 75.34 kB / 1.443 GB, free: 10.96 MB / 1.17 GB Notification: Performance of SimCode: time 1.272e-06/1.085, allocations: 4 kB / 1.443 GB, free: 10.95 MB / 1.17 GB Notification: Performance of Templates: time 0.04343/1.128, allocations: 32.88 MB / 1.475 GB, free: 10.1 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches