Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002589/0.002589, allocations: 191.7 kB / 16.14 MB, free: 6.719 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.559/1.559, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.929/2.929, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.88 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9035, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002352/0.9059, allocations: 0.7444 MB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.9083, allocations: 1.346 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.9084, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.9091, allocations: 183.6 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.9093, allocations: 99.73 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000843/0.9102, allocations: 215.5 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.9109, allocations: 431.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.9109, allocations: 15.98 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.9112, allocations: 179.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.9116, allocations: 211.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.9117, allocations: 12 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.9119, allocations: 75.88 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.9123, allocations: 235.5 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.9126, allocations: 139.3 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.9133, allocations: 456.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.9133, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9134, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9134, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001263/0.9146, allocations: 0.6385 MB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9147, allocations: 8.031 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.9148, allocations: 32.66 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.9155, allocations: 388.1 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.9155, allocations: 8.375 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.9156, allocations: 20.38 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.916, allocations: 192.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.916, allocations: 192 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.9161, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.9161, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.9163, allocations: 111.9 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.9169, allocations: 387 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.9174, allocations: 315.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.9176, allocations: 126.5 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.9176, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007457/0.9184, allocations: 289.5 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.9184, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009903/0.9194, allocations: 0.5087 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.9195, allocations: 110.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.9201, allocations: 400.5 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.9202, allocations: 37.7 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.9204, allocations: 160.6 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.9205, allocations: 39.52 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.9207, allocations: 117.6 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002365/0.9209, allocations: 342.8 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.9211, allocations: 83.95 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.9218, allocations: 463 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.9222, allocations: 257.4 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9222, allocations: 0 / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005748/0.9228, allocations: 332.9 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.9228, allocations: 8 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.9228, allocations: 4 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.9229, allocations: 4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.9231, allocations: 28.33 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.9231, allocations: 11.94 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.9239, allocations: 69.59 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.9239, allocations: 12 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.9242, allocations: 188 kB / 1.026 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.9243, allocations: 43.55 kB / 1.026 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.9244, allocations: 34.12 kB / 1.026 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9244, allocations: 7.984 kB / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.9244, allocations: 0 / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.9244, allocations: 4 kB / 1.026 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.9248, allocations: 281.4 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9248, allocations: 0 / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.9249, allocations: 7.938 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9249, allocations: 7.938 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.9249, allocations: 11.98 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9249, allocations: 4 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.9249, allocations: 3.938 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.9256, allocations: 432.1 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.9257, allocations: 104.7 kB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.9258, allocations: 11.98 kB / 1.027 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.9259, allocations: 4 kB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.926, allocations: 19.98 kB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.926, allocations: 15.98 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003734/0.9264, allocations: 291 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9264, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004437/0.9268, allocations: 76 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003789/0.9272, allocations: 143.6 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.9278, allocations: 251.7 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9278, allocations: 0 / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.9281, allocations: 148.7 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.9284, allocations: 26.47 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.9297, allocations: 0.6105 MB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.9305, allocations: 0.7638 MB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.9307, allocations: 53.88 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.9308, allocations: 31.38 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9308, allocations: 0 / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.01197/0.9427, allocations: 4.793 MB / 1.034 GB, free: 96 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches