Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00179/0.00179, allocations: 102.2 kB / 16.41 MB, free: 6.504 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.002023/0.002023, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8189, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1636/0.9826, allocations: 157.5 MB / 1.321 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02549/1.008, allocations: 22.07 MB / 1.343 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/1.01, allocations: 55.69 kB / 1.343 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/1.013, allocations: 2.171 MB / 1.345 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/1.015, allocations: 1.472 MB / 1.346 GB, free: 12.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/1.017, allocations: 0.6182 MB / 1.347 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002394/1.019, allocations: 1.926 MB / 1.349 GB, free: 9.469 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.021, allocations: 1.123 MB / 1.35 GB, free: 8.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/1.022, allocations: 0.9308 MB / 1.351 GB, free: 7.387 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/1.024, allocations: 1.594 MB / 1.352 GB, free: 5.789 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/1.024, allocations: 96 kB / 1.352 GB, free: 5.695 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/1.024, allocations: 136 kB / 1.353 GB, free: 5.562 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/1.024, allocations: 0.5511 MB / 1.353 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006357/1.025, allocations: 0.8029 MB / 1.354 GB, free: 4.199 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/1.027, allocations: 1.934 MB / 1.356 GB, free: 2.258 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.027, allocations: 4 kB / 1.356 GB, free: 2.254 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.382e-06/1.027, allocations: 0 / 1.356 GB, free: 2.254 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.809e-05/1.027, allocations: 0 / 1.356 GB, free: 2.254 MB / 1.076 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.00334/1.03, allocations: 2.353 MB / 1.358 GB, free: 15.84 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.03, allocations: 8.922 kB / 1.358 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/1.031, allocations: 234 kB / 1.358 GB, free: 15.6 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/1.032, allocations: 1.038 MB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.032, allocations: 91 kB / 1.359 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.032, allocations: 71.98 kB / 1.359 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/1.034, allocations: 0.7845 MB / 1.36 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.034, allocations: 3.906 kB / 1.36 GB, free: 13.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/1.034, allocations: 31.98 kB / 1.36 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/1.034, allocations: 16 kB / 1.36 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.035, allocations: 0.6336 MB / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/1.04, allocations: 3.725 MB / 1.365 GB, free: 8.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/1.041, allocations: 0.7376 MB / 1.365 GB, free: 8.109 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/1.042, allocations: 434.3 kB / 1.366 GB, free: 7.684 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/1.042, allocations: 8.562 kB / 1.366 GB, free: 7.676 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007733/1.043, allocations: 456 kB / 1.366 GB, free: 7.223 MB / 1.092 GB Notification: Performance of pre-optimization done (n=73): time 3.587e-06/1.043, allocations: 0 / 1.366 GB, free: 7.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=73): time 0.003992/1.047, allocations: 1.838 MB / 1.368 GB, free: 5.332 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.047, allocations: 64.06 kB / 1.368 GB, free: 5.258 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.051, allocations: 3.359 MB / 1.371 GB, free: 1.875 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/1.051, allocations: 49.7 kB / 1.371 GB, free: 1.82 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000747/1.051, allocations: 0.9175 MB / 1.372 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.052, allocations: 240.7 kB / 1.372 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.052, allocations: 130.7 kB / 1.373 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.052, allocations: 345.9 kB / 1.373 GB, free: 184 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/1.053, allocations: 321.8 kB / 1.373 GB, free: 15.87 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/1.053, allocations: 472 kB / 1.374 GB, free: 15.36 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.055, allocations: 0.7468 MB / 1.374 GB, free: 14.58 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.055, allocations: 4 kB / 1.374 GB, free: 14.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002235/1.057, allocations: 1.249 MB / 1.376 GB, free: 13.31 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.057, allocations: 8 kB / 1.376 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.057, allocations: 0 / 1.376 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/1.058, allocations: 265.5 kB / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/1.058, allocations: 139.7 kB / 1.376 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/1.063, allocations: 4.742 MB / 1.381 GB, free: 7.883 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/1.064, allocations: 103.1 kB / 1.381 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/1.064, allocations: 35.98 kB / 1.381 GB, free: 7.746 MB / 1.107 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.0008259/1.064, allocations: 0.613 MB / 1.381 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.065, allocations: 213.3 kB / 1.382 GB, free: 6.914 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/1.065, allocations: 257.1 kB / 1.382 GB, free: 6.66 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.065, allocations: 11.94 kB / 1.382 GB, free: 6.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/1.065, allocations: 7.938 kB / 1.382 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.065, allocations: 3.984 kB / 1.382 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/1.069, allocations: 2.409 MB / 1.384 GB, free: 4.164 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.069, allocations: 0 / 1.384 GB, free: 4.164 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/1.069, allocations: 75.89 kB / 1.384 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/1.07, allocations: 247.6 kB / 1.384 GB, free: 3.844 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/1.07, allocations: 23.98 kB / 1.385 GB, free: 3.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/1.074, allocations: 4.742 MB / 1.389 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.074, allocations: 0 / 1.389 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/1.077, allocations: 1.634 MB / 1.391 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.078, allocations: 322.3 kB / 1.391 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.078, allocations: 20 kB / 1.391 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.078, allocations: 39.95 kB / 1.391 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.078, allocations: 72.55 kB / 1.391 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/1.078, allocations: 27.98 kB / 1.391 GB, free: 12.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002487/1.081, allocations: 2.46 MB / 1.394 GB, free: 10.17 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.081, allocations: 4 kB / 1.394 GB, free: 10.16 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009261/1.082, allocations: 303.4 kB / 1.394 GB, free: 9.867 MB / 1.123 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.001132/1.083, allocations: 0.4956 MB / 1.394 GB, free: 9.555 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.085, allocations: 1.086 MB / 1.395 GB, free: 8.441 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.085, allocations: 3.75 kB / 1.395 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.086, allocations: 0.7066 MB / 1.396 GB, free: 7.707 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.087, allocations: 294.1 kB / 1.396 GB, free: 7.426 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/1.093, allocations: 4.16 MB / 1.4 GB, free: 3.223 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.094, allocations: 1.54 MB / 1.402 GB, free: 1.652 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/1.094, allocations: 79.41 kB / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/1.094, allocations: 0 / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of Templates: time 0.04037/1.134, allocations: 32.71 MB / 1.434 GB, free: 0.8789 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches