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.007563/0.007563, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001857/0.001857, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.371/2.371, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.81 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7875, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1656/0.9531, allocations: 157.5 MB / 1.32 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02454/0.9777, allocations: 22.06 MB / 1.342 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.9796, allocations: 59.69 kB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.9822, allocations: 2.175 MB / 1.344 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.9851, allocations: 1.468 MB / 1.346 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.9868, allocations: 0.615 MB / 1.346 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.9889, allocations: 1.945 MB / 1.348 GB, free: 9.414 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.9902, allocations: 1.107 MB / 1.349 GB, free: 8.281 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009631/0.9911, allocations: 0.9308 MB / 1.35 GB, free: 7.348 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.9927, allocations: 1.588 MB / 1.352 GB, free: 5.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.9929, allocations: 100 kB / 1.352 GB, free: 5.656 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.9932, allocations: 136 kB / 1.352 GB, free: 5.523 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.9937, allocations: 0.5627 MB / 1.352 GB, free: 4.957 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.9943, allocations: 0.7952 MB / 1.353 GB, free: 4.156 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.9962, allocations: 1.941 MB / 1.355 GB, free: 2.207 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9962, allocations: 0 / 1.355 GB, free: 2.207 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.532e-06/0.9962, allocations: 0 / 1.355 GB, free: 2.207 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.9963, allocations: 0 / 1.355 GB, free: 2.207 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.003328/0.9996, allocations: 2.437 MB / 1.357 GB, free: 15.71 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9997, allocations: 12.92 kB / 1.357 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/1, allocations: 251.3 kB / 1.358 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.001, allocations: 1.056 MB / 1.359 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/1.001, allocations: 90.98 kB / 1.359 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.002, allocations: 72 kB / 1.359 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/1.003, allocations: 0.7845 MB / 1.36 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.003, allocations: 11.88 kB / 1.36 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/1.003, allocations: 24 kB / 1.36 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.003, allocations: 16 kB / 1.36 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.004, allocations: 0.6375 MB / 1.36 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/1.009, allocations: 3.733 MB / 1.364 GB, free: 8.68 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.011, allocations: 0.7337 MB / 1.365 GB, free: 7.938 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/1.012, allocations: 434.3 kB / 1.365 GB, free: 7.512 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/1.012, allocations: 8.562 kB / 1.365 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000827/1.013, allocations: 452.1 kB / 1.366 GB, free: 7.055 MB / 1.092 GB Notification: Performance of pre-optimization done (n=73): time 3.627e-06/1.013, allocations: 0 / 1.366 GB, free: 7.055 MB / 1.092 GB Notification: Performance of matching and sorting (n=73): time 0.004214/1.017, allocations: 1.839 MB / 1.367 GB, free: 5.164 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.017, allocations: 60.06 kB / 1.367 GB, free: 5.094 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/1.02, allocations: 3.366 MB / 1.371 GB, free: 1.703 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/1.02, allocations: 41.7 kB / 1.371 GB, free: 1.656 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007969/1.021, allocations: 0.9297 MB / 1.372 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/1.021, allocations: 250 kB / 1.372 GB, free: 488 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/1.022, allocations: 138.7 kB / 1.372 GB, free: 340 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.022, allocations: 341.9 kB / 1.372 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/1.022, allocations: 321.7 kB / 1.373 GB, free: 15.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/1.023, allocations: 468 kB / 1.373 GB, free: 15.18 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/1.025, allocations: 0.7544 MB / 1.374 GB, free: 14.39 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.025, allocations: 3.938 kB / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002345/1.027, allocations: 1.259 MB / 1.375 GB, free: 13.11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.027, allocations: 4 kB / 1.375 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.027, allocations: 7.984 kB / 1.375 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/1.028, allocations: 261.5 kB / 1.375 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/1.028, allocations: 139.8 kB / 1.375 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/1.033, allocations: 4.758 MB / 1.38 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/1.034, allocations: 103.4 kB / 1.38 GB, free: 7.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/1.034, allocations: 28 kB / 1.38 GB, free: 7.535 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.0007729/1.035, allocations: 0.6147 MB / 1.381 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/1.035, allocations: 218.5 kB / 1.381 GB, free: 6.695 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/1.035, allocations: 261.1 kB / 1.381 GB, free: 6.438 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.035, allocations: 11.94 kB / 1.381 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.035, allocations: 4 kB / 1.381 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.035, allocations: 3.984 kB / 1.381 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/1.039, allocations: 2.409 MB / 1.384 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.039, allocations: 0 / 1.384 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/1.039, allocations: 75.89 kB / 1.384 GB, free: 3.871 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/1.04, allocations: 247.8 kB / 1.384 GB, free: 3.625 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/1.04, allocations: 15.98 kB / 1.384 GB, free: 3.609 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/1.045, allocations: 4.752 MB / 1.389 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.045, allocations: 4.031 kB / 1.389 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/1.047, allocations: 1.647 MB / 1.39 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/1.048, allocations: 335.4 kB / 1.391 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.048, allocations: 27.92 kB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/1.048, allocations: 31.97 kB / 1.391 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.049, allocations: 76.55 kB / 1.391 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/1.049, allocations: 27.98 kB / 1.391 GB, free: 12.39 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00256/1.051, allocations: 2.464 MB / 1.393 GB, free: 9.91 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.9e-07/1.051, allocations: 0 / 1.393 GB, free: 9.91 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009843/1.052, allocations: 299.7 kB / 1.393 GB, free: 9.617 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.00116/1.053, allocations: 498.2 kB / 1.394 GB, free: 9.312 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.055, allocations: 1.098 MB / 1.395 GB, free: 8.188 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.055, allocations: 0 / 1.395 GB, free: 8.188 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.057, allocations: 0.7106 MB / 1.396 GB, free: 7.453 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.058, allocations: 297.7 kB / 1.396 GB, free: 7.168 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/1.064, allocations: 4.141 MB / 1.4 GB, free: 2.98 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.065, allocations: 1.556 MB / 1.401 GB, free: 1.395 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004282/1.065, allocations: 162.5 kB / 1.402 GB, free: 1.23 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.065, allocations: 71.41 kB / 1.402 GB, free: 1.164 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/1.065, allocations: 0 / 1.402 GB, free: 1.164 MB / 1.123 GB Notification: Performance of Templates: time 0.03/1.095, allocations: 15.27 MB / 1.417 GB, free: 2.035 MB / 1.139 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/jenkins/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