Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001391/0.001391, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7835, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1745/0.9581, allocations: 157.9 MB / 1.363 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02698/0.9851, allocations: 22.23 MB / 1.384 GB, free: 8.801 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.9875, allocations: 59.69 kB / 1.384 GB, free: 8.742 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.9908, allocations: 2.755 MB / 1.387 GB, free: 5.98 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.9937, allocations: 1.764 MB / 1.389 GB, free: 4.211 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.9958, allocations: 0.6944 MB / 1.389 GB, free: 3.523 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.9988, allocations: 2.292 MB / 1.392 GB, free: 1.227 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/1.001, allocations: 1.359 MB / 1.393 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.003, allocations: 1.129 MB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/1.005, allocations: 1.994 MB / 1.396 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/1.006, allocations: 116 kB / 1.396 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005757/1.006, allocations: 168 kB / 1.396 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006901/1.007, allocations: 0.7027 MB / 1.397 GB, free: 11.74 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/1.009, allocations: 1.012 MB / 1.398 GB, free: 10.72 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/1.012, allocations: 2.43 MB / 1.4 GB, free: 8.281 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.012, allocations: 0 / 1.4 GB, free: 8.281 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.256e-06/1.012, allocations: 4 kB / 1.4 GB, free: 8.277 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.983e-05/1.012, allocations: 0 / 1.4 GB, free: 8.277 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004941/1.017, allocations: 2.967 MB / 1.403 GB, free: 5.242 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.017, allocations: 12.03 kB / 1.403 GB, free: 5.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/1.018, allocations: 308.5 kB / 1.404 GB, free: 4.926 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.019, allocations: 1.29 MB / 1.405 GB, free: 3.574 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/1.02, allocations: 103.7 kB / 1.405 GB, free: 3.469 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.02, allocations: 88 kB / 1.405 GB, free: 3.383 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.021, allocations: 0.9732 MB / 1.406 GB, free: 2.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.022, allocations: 3.938 kB / 1.406 GB, free: 2.391 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/1.022, allocations: 32 kB / 1.406 GB, free: 2.359 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/1.022, allocations: 23.94 kB / 1.406 GB, free: 2.336 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/1.023, allocations: 0.8159 MB / 1.407 GB, free: 1.523 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006015/1.029, allocations: 4.39 MB / 1.411 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/1.031, allocations: 0.939 MB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/1.032, allocations: 0.523 MB / 1.413 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/1.032, allocations: 9 kB / 1.413 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.033, allocations: 0.5556 MB / 1.413 GB, free: 10.79 MB / 1.139 GB Notification: Performance of pre-optimization done (n=91): time 3.056e-06/1.033, allocations: 4 kB / 1.413 GB, free: 10.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=91): time 0.00475/1.038, allocations: 2.152 MB / 1.415 GB, free: 8.582 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/1.038, allocations: 68.33 kB / 1.415 GB, free: 8.504 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/1.042, allocations: 4.451 MB / 1.42 GB, free: 4.043 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-05/1.042, allocations: 49.7 kB / 1.42 GB, free: 3.988 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.044, allocations: 1.222 MB / 1.421 GB, free: 2.758 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/1.044, allocations: 291.9 kB / 1.421 GB, free: 2.469 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.044, allocations: 166.6 kB / 1.421 GB, free: 2.301 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.044, allocations: 341.9 kB / 1.422 GB, free: 1.961 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/1.045, allocations: 393.8 kB / 1.422 GB, free: 1.574 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/1.046, allocations: 0.5572 MB / 1.423 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/1.048, allocations: 0.9231 MB / 1.423 GB, free: 4 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.048, allocations: 4 kB / 1.423 GB, free: 0 / 1.139 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002815/1.05, allocations: 1.491 MB / 1.425 GB, free: 14.49 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.05, allocations: 4 kB / 1.425 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.05, allocations: 4 kB / 1.425 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/1.051, allocations: 265.6 kB / 1.425 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/1.052, allocations: 171.7 kB / 1.425 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/1.057, allocations: 4.752 MB / 1.43 GB, free: 9.027 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.058, allocations: 123.1 kB / 1.43 GB, free: 8.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/1.058, allocations: 40 kB / 1.43 GB, free: 8.867 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.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 (96): * Single equations (assignments): 94 * 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.00151/1.059, allocations: 0.7668 MB / 1.431 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/1.06, allocations: 276.4 kB / 1.431 GB, free: 7.816 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/1.061, allocations: 352.7 kB / 1.431 GB, free: 7.465 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/1.061, allocations: 8 kB / 1.431 GB, free: 7.457 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.061, allocations: 4 kB / 1.431 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.061, allocations: 3.984 kB / 1.431 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/1.065, allocations: 2.983 MB / 1.434 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.065, allocations: 0 / 1.434 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/1.066, allocations: 103.8 kB / 1.435 GB, free: 4.297 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/1.067, allocations: 256.4 kB / 1.435 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/1.067, allocations: 19.98 kB / 1.435 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005036/1.072, allocations: 4.735 MB / 1.439 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.072, allocations: 0 / 1.439 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/1.075, allocations: 2.036 MB / 1.441 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/1.076, allocations: 397.1 kB / 1.442 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/1.076, allocations: 27.98 kB / 1.442 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/1.077, allocations: 43.95 kB / 1.442 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.077, allocations: 93.11 kB / 1.442 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.077, allocations: 35.98 kB / 1.442 GB, free: 12.36 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003936/1.081, allocations: 3.259 MB / 1.445 GB, free: 9.102 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.655e-06/1.081, allocations: 0 / 1.445 GB, free: 9.102 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001168/1.082, allocations: 351.4 kB / 1.445 GB, free: 8.758 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001239/1.084, allocations: 498.6 kB / 1.446 GB, free: 8.449 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002681/1.086, allocations: 1.295 MB / 1.447 GB, free: 7.121 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.086, allocations: 64 / 1.447 GB, free: 7.121 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.088, allocations: 0.8094 MB / 1.448 GB, free: 6.285 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.089, allocations: 341.9 kB / 1.448 GB, free: 5.957 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/1.098, allocations: 5.402 MB / 1.454 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.099, allocations: 1.8 MB / 1.455 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/1.1, allocations: 91.41 kB / 1.455 GB, free: 14.59 MB / 1.186 GB Notification: Performance of SimCode: time 7.62e-07/1.1, allocations: 0 / 1.455 GB, free: 14.59 MB / 1.186 GB Notification: Performance of Templates: time 0.05745/1.157, allocations: 41.5 MB / 1.496 GB, free: 5.109 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches