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.0017/0.0017, allocations: 107.5 kB / 16.41 MB, free: 6.473 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.001924/0.001925, allocations: 187 kB / 17.34 MB, free: 5.715 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.331/1.331, 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 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8015, allocations: 151.6 MB / 1.167 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1719/0.9734, allocations: 157.9 MB / 1.321 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02758/1.001, allocations: 22.21 MB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/1.004, allocations: 63.62 kB / 1.343 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/1.007, allocations: 2.736 MB / 1.346 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/1.01, allocations: 1.791 MB / 1.348 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/1.012, allocations: 0.6887 MB / 1.348 GB, free: 10 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003017/1.015, allocations: 2.284 MB / 1.351 GB, free: 7.715 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/1.017, allocations: 1.351 MB / 1.352 GB, free: 6.336 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/1.018, allocations: 1.122 MB / 1.353 GB, free: 5.211 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/1.02, allocations: 1.994 MB / 1.355 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/1.021, allocations: 116 kB / 1.355 GB, free: 3.098 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/1.021, allocations: 156 kB / 1.355 GB, free: 2.945 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005318/1.022, allocations: 0.7066 MB / 1.356 GB, free: 2.234 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007946/1.022, allocations: 1.004 MB / 1.357 GB, free: 1.223 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/1.025, allocations: 2.435 MB / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.025, allocations: 4 kB / 1.359 GB, free: 14.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.322e-06/1.025, allocations: 0 / 1.359 GB, free: 14.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.176e-05/1.025, allocations: 0 / 1.359 GB, free: 14.77 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.004462/1.029, allocations: 3.056 MB / 1.362 GB, free: 11.65 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.029, allocations: 16.86 kB / 1.362 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/1.03, allocations: 318.8 kB / 1.363 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.031, allocations: 1.312 MB / 1.364 GB, free: 9.953 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.032, allocations: 103.7 kB / 1.364 GB, free: 9.844 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.032, allocations: 87.98 kB / 1.364 GB, free: 9.758 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/1.033, allocations: 0.9693 MB / 1.365 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.033, allocations: 0 / 1.365 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/1.034, allocations: 35.98 kB / 1.365 GB, free: 8.742 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/1.034, allocations: 20 kB / 1.365 GB, free: 8.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/1.035, allocations: 0.8042 MB / 1.366 GB, free: 7.918 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/1.041, allocations: 4.402 MB / 1.37 GB, free: 3.227 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.043, allocations: 0.9346 MB / 1.371 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008659/1.043, allocations: 0.525 MB / 1.371 GB, free: 1.766 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/1.044, allocations: 13 kB / 1.371 GB, free: 1.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009498/1.045, allocations: 0.5477 MB / 1.372 GB, free: 1.191 MB / 1.092 GB Notification: Performance of pre-optimization done (n=91): time 3.387e-06/1.045, allocations: 4 kB / 1.372 GB, free: 1.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=91): time 0.004487/1.049, allocations: 2.161 MB / 1.374 GB, free: 14.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.049, allocations: 72.34 kB / 1.374 GB, free: 14.89 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/1.054, allocations: 4.439 MB / 1.379 GB, free: 10.45 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.054, allocations: 45.7 kB / 1.379 GB, free: 10.39 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/1.055, allocations: 1.23 MB / 1.38 GB, free: 9.156 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/1.055, allocations: 305.5 kB / 1.38 GB, free: 8.855 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/1.055, allocations: 162.7 kB / 1.38 GB, free: 8.691 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.055, allocations: 341.9 kB / 1.381 GB, free: 8.352 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/1.056, allocations: 397.8 kB / 1.381 GB, free: 7.965 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/1.057, allocations: 0.5489 MB / 1.381 GB, free: 7.367 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/1.058, allocations: 0.9194 MB / 1.382 GB, free: 6.402 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.058, allocations: 3.938 kB / 1.382 GB, free: 6.398 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002697/1.061, allocations: 1.506 MB / 1.384 GB, free: 4.879 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.061, allocations: 12.09 kB / 1.384 GB, free: 4.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.061, allocations: 4 kB / 1.384 GB, free: 4.863 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/1.062, allocations: 257.5 kB / 1.384 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/1.063, allocations: 171.8 kB / 1.384 GB, free: 4.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/1.067, allocations: 4.765 MB / 1.389 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/1.068, allocations: 127.3 kB / 1.389 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/1.068, allocations: 35.98 kB / 1.389 GB, free: 15.24 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.001161/1.069, allocations: 0.7678 MB / 1.39 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/1.07, allocations: 294.1 kB / 1.39 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/1.07, allocations: 340.5 kB / 1.39 GB, free: 13.83 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.07, allocations: 8 kB / 1.39 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.07, allocations: 7.938 kB / 1.39 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/1.07, allocations: 7.922 kB / 1.39 GB, free: 13.81 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/1.075, allocations: 2.976 MB / 1.393 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.075, allocations: 0 / 1.393 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/1.075, allocations: 103.8 kB / 1.393 GB, free: 10.67 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005972/1.076, allocations: 249.5 kB / 1.394 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.076, allocations: 23.98 kB / 1.394 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/1.08, allocations: 4.75 MB / 1.398 GB, free: 5.367 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.08, allocations: 0 / 1.398 GB, free: 5.367 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/1.084, allocations: 2.037 MB / 1.4 GB, free: 3.305 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/1.084, allocations: 418.9 kB / 1.401 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.084, allocations: 16 kB / 1.401 GB, free: 2.859 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/1.085, allocations: 51.94 kB / 1.401 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.085, allocations: 93.05 kB / 1.401 GB, free: 2.719 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/1.085, allocations: 27.98 kB / 1.401 GB, free: 2.691 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003464/1.089, allocations: 3.255 MB / 1.404 GB, free: 15.44 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.089, allocations: 4 kB / 1.404 GB, free: 15.44 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001156/1.09, allocations: 359.5 kB / 1.404 GB, free: 15.09 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.001206/1.091, allocations: 0.4976 MB / 1.405 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002567/1.094, allocations: 1.283 MB / 1.406 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.094, allocations: 0 / 1.406 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.095, allocations: 0.81 MB / 1.407 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.097, allocations: 360 kB / 1.407 GB, free: 12.27 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/1.105, allocations: 5.462 MB / 1.413 GB, free: 6.766 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.107, allocations: 1.796 MB / 1.414 GB, free: 4.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.107, allocations: 91.41 kB / 1.415 GB, free: 4.84 MB / 1.139 GB Notification: Performance of SimCode: time 1.162e-06/1.107, allocations: 0 / 1.415 GB, free: 4.84 MB / 1.139 GB Notification: Performance of Templates: time 0.05448/1.161, allocations: 41.33 MB / 1.455 GB, free: 11.52 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