Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase8,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.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_10_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.001102/0.001102, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.001135/0.001135, allocations: 183 kB / 17.34 MB, free: 5.758 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 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.396/2.396, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.14 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7808, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1774/0.9582, allocations: 157.9 MB / 1.321 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02889/0.9872, allocations: 22.21 MB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.9898, allocations: 59.69 kB / 1.343 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003325/0.9931, allocations: 2.752 MB / 1.346 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.9962, allocations: 1.784 MB / 1.348 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.9984, allocations: 0.6929 MB / 1.348 GB, free: 9.848 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00305/1.001, allocations: 2.284 MB / 1.351 GB, free: 7.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.004, allocations: 1.347 MB / 1.352 GB, free: 6.184 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/1.005, allocations: 1.122 MB / 1.353 GB, free: 5.059 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/1.008, allocations: 1.99 MB / 1.355 GB, free: 3.062 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004418/1.009, allocations: 116 kB / 1.355 GB, free: 2.949 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/1.009, allocations: 156 kB / 1.355 GB, free: 2.797 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007716/1.01, allocations: 0.7105 MB / 1.356 GB, free: 2.082 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/1.011, allocations: 1.012 MB / 1.357 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003/1.014, allocations: 2.431 MB / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.014, allocations: 0 / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.734e-06/1.014, allocations: 0 / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.763e-05/1.015, allocations: 0 / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005407/1.02, allocations: 3.056 MB / 1.362 GB, free: 11.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.02, allocations: 12.92 kB / 1.362 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/1.021, allocations: 326.8 kB / 1.363 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/1.023, allocations: 1.304 MB / 1.364 GB, free: 9.805 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.023, allocations: 111.6 kB / 1.364 GB, free: 9.688 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.023, allocations: 87.98 kB / 1.364 GB, free: 9.602 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.025, allocations: 0.9655 MB / 1.365 GB, free: 8.625 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/1.025, allocations: 0 / 1.365 GB, free: 8.625 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/1.025, allocations: 32 kB / 1.365 GB, free: 8.594 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.025, allocations: 20 kB / 1.365 GB, free: 8.574 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/1.027, allocations: 0.8158 MB / 1.366 GB, free: 7.758 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/1.035, allocations: 4.387 MB / 1.37 GB, free: 3.082 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/1.037, allocations: 0.9411 MB / 1.371 GB, free: 2.141 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.038, allocations: 0.5189 MB / 1.371 GB, free: 1.621 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.223e-05/1.038, allocations: 16.94 kB / 1.371 GB, free: 1.602 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.039, allocations: 0.5555 MB / 1.372 GB, free: 1.035 MB / 1.092 GB Notification: Performance of pre-optimization done (n=91): time 3.066e-06/1.039, allocations: 0 / 1.372 GB, free: 1.035 MB / 1.092 GB Notification: Performance of matching and sorting (n=91): time 0.004957/1.044, allocations: 2.169 MB / 1.374 GB, free: 14.82 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.044, allocations: 68.34 kB / 1.374 GB, free: 14.73 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/1.049, allocations: 4.439 MB / 1.379 GB, free: 10.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.049, allocations: 49.69 kB / 1.379 GB, free: 10.23 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.05, allocations: 1.223 MB / 1.38 GB, free: 9.004 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/1.051, allocations: 305.5 kB / 1.38 GB, free: 8.703 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/1.051, allocations: 162.7 kB / 1.38 GB, free: 8.539 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.051, allocations: 349.9 kB / 1.381 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/1.052, allocations: 389.8 kB / 1.381 GB, free: 7.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/1.053, allocations: 0.5557 MB / 1.381 GB, free: 7.211 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/1.055, allocations: 0.9214 MB / 1.382 GB, free: 6.246 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.055, allocations: 0 / 1.382 GB, free: 6.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00313/1.058, allocations: 1.506 MB / 1.384 GB, free: 4.727 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/1.058, allocations: 8 kB / 1.384 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.058, allocations: 7.938 kB / 1.384 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/1.059, allocations: 257.6 kB / 1.384 GB, free: 4.453 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/1.06, allocations: 171.8 kB / 1.384 GB, free: 4.285 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005697/1.065, allocations: 4.762 MB / 1.389 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.066, allocations: 131.4 kB / 1.389 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.067, allocations: 40 kB / 1.389 GB, free: 15.09 MB / 1.123 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.001179/1.068, allocations: 0.769 MB / 1.39 GB, free: 14.31 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/1.068, allocations: 286.1 kB / 1.39 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/1.069, allocations: 340.7 kB / 1.39 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.069, allocations: 11.98 kB / 1.39 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.069, allocations: 7.938 kB / 1.39 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.069, allocations: 11.97 kB / 1.39 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/1.074, allocations: 2.968 MB / 1.393 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.074, allocations: 0 / 1.393 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/1.075, allocations: 107.8 kB / 1.393 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006673/1.075, allocations: 255.7 kB / 1.394 GB, free: 10.26 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/1.076, allocations: 23.98 kB / 1.394 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/1.08, allocations: 4.742 MB / 1.398 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.08, allocations: 0 / 1.398 GB, free: 5.219 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/1.084, allocations: 2.049 MB / 1.4 GB, free: 3.145 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/1.085, allocations: 406.9 kB / 1.401 GB, free: 2.727 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.085, allocations: 27.98 kB / 1.401 GB, free: 2.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/1.086, allocations: 39.95 kB / 1.401 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/1.086, allocations: 92.88 kB / 1.401 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/1.086, allocations: 35.98 kB / 1.401 GB, free: 2.535 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003739/1.09, allocations: 3.247 MB / 1.404 GB, free: 15.29 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.09, allocations: 0 / 1.404 GB, free: 15.29 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001214/1.091, allocations: 359.5 kB / 1.404 GB, free: 14.94 MB / 1.139 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.001224/1.092, allocations: 0.4996 MB / 1.405 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00257/1.095, allocations: 1.287 MB / 1.406 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.095, allocations: 4.062 kB / 1.406 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.096, allocations: 0.8017 MB / 1.407 GB, free: 12.47 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.098, allocations: 355.2 kB / 1.407 GB, free: 12.13 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008238/1.106, allocations: 5.467 MB / 1.413 GB, free: 6.621 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.108, allocations: 1.804 MB / 1.414 GB, free: 4.777 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.108, allocations: 87.42 kB / 1.415 GB, free: 4.691 MB / 1.139 GB Notification: Performance of SimCode: time 1.713e-06/1.108, allocations: 0 / 1.415 GB, free: 4.691 MB / 1.139 GB Notification: Performance of Templates: time 0.061/1.169, allocations: 41.33 MB / 1.455 GB, free: 11.37 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches