Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.TestCase10,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.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_11_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.008236/0.008236, allocations: 99.27 kB / 15.73 MB, free: 5.551 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.001627/0.001627, allocations: 187.6 kB / 16.67 MB, free: 5.473 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.526/2.526, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7913, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1686/0.9599, allocations: 158 MB / 1.375 GB, free: 3.488 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.9878, allocations: 22.12 MB / 1.397 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.99, allocations: 59.62 kB / 1.397 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.9929, allocations: 2.171 MB / 1.399 GB, free: 11.06 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.9954, allocations: 1.472 MB / 1.4 GB, free: 9.586 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.9973, allocations: 0.623 MB / 1.401 GB, free: 8.969 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002792/1, allocations: 1.945 MB / 1.403 GB, free: 7.016 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/1.002, allocations: 0.9395 MB / 1.404 GB, free: 6.051 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.003, allocations: 0.9231 MB / 1.404 GB, free: 5.125 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/1.006, allocations: 1.592 MB / 1.406 GB, free: 3.531 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/1.006, allocations: 96 kB / 1.406 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/1.007, allocations: 144 kB / 1.406 GB, free: 3.297 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006488/1.007, allocations: 0.5626 MB / 1.407 GB, free: 2.73 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/1.008, allocations: 0.7991 MB / 1.408 GB, free: 1.926 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/1.011, allocations: 1.964 MB / 1.409 GB, free: 15.95 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.011, allocations: 0 / 1.409 GB, free: 15.95 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/1.011, allocations: 0 / 1.409 GB, free: 15.95 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001034/1.011, allocations: 0 / 1.409 GB, free: 15.95 MB / 1.139 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.004665/1.016, allocations: 2.442 MB / 1.412 GB, free: 13.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.016, allocations: 8.031 kB / 1.412 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/1.016, allocations: 258.3 kB / 1.412 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/1.018, allocations: 1.069 MB / 1.413 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/1.018, allocations: 87.69 kB / 1.413 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.019, allocations: 75.98 kB / 1.413 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/1.02, allocations: 0.7854 MB / 1.414 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/1.02, allocations: 7.953 kB / 1.414 GB, free: 11.08 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/1.02, allocations: 39.92 kB / 1.414 GB, free: 11.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/1.02, allocations: 16 kB / 1.414 GB, free: 11.03 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/1.022, allocations: 0.6336 MB / 1.415 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/1.027, allocations: 3.742 MB / 1.418 GB, free: 6.387 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.029, allocations: 0.6903 MB / 1.419 GB, free: 5.688 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/1.03, allocations: 394.3 kB / 1.419 GB, free: 5.301 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/1.03, allocations: 16.48 kB / 1.419 GB, free: 5.285 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008023/1.031, allocations: 452 kB / 1.42 GB, free: 4.828 MB / 1.139 GB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/1.031, allocations: 0 / 1.42 GB, free: 4.828 MB / 1.139 GB Notification: Performance of matching and sorting (n=73): time 0.004202/1.035, allocations: 1.835 MB / 1.422 GB, free: 2.945 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.035, allocations: 67.94 kB / 1.422 GB, free: 2.867 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/1.039, allocations: 3.376 MB / 1.425 GB, free: 15.47 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/1.039, allocations: 45.7 kB / 1.425 GB, free: 15.42 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/1.04, allocations: 0.9375 MB / 1.426 GB, free: 14.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/1.04, allocations: 246 kB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/1.04, allocations: 138.6 kB / 1.426 GB, free: 14.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.04, allocations: 341.9 kB / 1.427 GB, free: 13.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/1.041, allocations: 317.8 kB / 1.427 GB, free: 13.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/1.042, allocations: 464.1 kB / 1.427 GB, free: 12.95 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/1.043, allocations: 0.751 MB / 1.428 GB, free: 12.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/1.044, allocations: 4 kB / 1.428 GB, free: 12.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00273/1.046, allocations: 1.249 MB / 1.429 GB, free: 10.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.046, allocations: 8 kB / 1.429 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.046, allocations: 4 kB / 1.429 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/1.047, allocations: 255.8 kB / 1.43 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/1.048, allocations: 143.8 kB / 1.43 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00518/1.053, allocations: 4.756 MB / 1.434 GB, free: 5.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/1.054, allocations: 103.4 kB / 1.435 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/1.054, allocations: 32 kB / 1.435 GB, free: 5.316 MB / 1.154 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.000907/1.055, allocations: 0.6113 MB / 1.435 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.055, allocations: 226.4 kB / 1.435 GB, free: 4.477 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/1.055, allocations: 257.4 kB / 1.436 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.055, allocations: 11.98 kB / 1.436 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.055, allocations: 4 kB / 1.436 GB, free: 4.203 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.055, allocations: 3.984 kB / 1.436 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/1.059, allocations: 2.413 MB / 1.438 GB, free: 1.719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.059, allocations: 3.938 kB / 1.438 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/1.06, allocations: 67.89 kB / 1.438 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/1.06, allocations: 250.9 kB / 1.438 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/1.06, allocations: 20 kB / 1.438 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/1.065, allocations: 4.754 MB / 1.443 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.065, allocations: 0 / 1.443 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.068, allocations: 1.631 MB / 1.445 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/1.069, allocations: 347.4 kB / 1.445 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.069, allocations: 20 kB / 1.445 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/1.069, allocations: 35.95 kB / 1.445 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.07, allocations: 76.55 kB / 1.445 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/1.07, allocations: 20 kB / 1.445 GB, free: 10.19 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002886/1.073, allocations: 2.476 MB / 1.447 GB, free: 7.703 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/1.073, allocations: 4 kB / 1.447 GB, free: 7.699 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00103/1.074, allocations: 299.7 kB / 1.448 GB, free: 7.406 MB / 1.17 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.001199/1.075, allocations: 493.9 kB / 1.448 GB, free: 7.098 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.077, allocations: 1.064 MB / 1.449 GB, free: 6.004 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.077, allocations: 4 kB / 1.449 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.078, allocations: 0.6754 MB / 1.45 GB, free: 5.301 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.08, allocations: 299.6 kB / 1.45 GB, free: 5.016 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/1.086, allocations: 4.154 MB / 1.454 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.088, allocations: 1.56 MB / 1.456 GB, free: 15.23 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005061/1.088, allocations: 154.7 kB / 1.456 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.088, allocations: 67.42 kB / 1.456 GB, free: 15.01 MB / 1.186 GB Notification: Performance of SimCode: time 8.51e-07/1.088, allocations: 0 / 1.456 GB, free: 15.01 MB / 1.186 GB Notification: Performance of Templates: time 0.03053/1.119, allocations: 15.42 MB / 1.471 GB, free: 15.75 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches