Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002249/0.002249, allocations: 195.4 kB / 16.26 MB, free: 6.621 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.691/1.691, allocations: 222.9 MB / 239.9 MB, free: 4.473 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 3.007/3.007, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7808, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002264/0.7831, allocations: 0.9202 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.7856, allocations: 1.452 MB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.7857, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.7864, allocations: 187.5 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.7866, allocations: 107.7 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.7877, allocations: 332.6 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.7889, allocations: 0.8581 MB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.7892, allocations: 100.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.7897, allocations: 351.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.7901, allocations: 263.3 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.7903, allocations: 44 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.7906, allocations: 115.9 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.7912, allocations: 343.3 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.7916, allocations: 266.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.7929, allocations: 0.9058 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.7929, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.507e-06/0.7929, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7929, allocations: 0 / 1.023 GB, free: 12.5 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002571/0.7955, allocations: 0.8879 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.7956, allocations: 11.98 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.7959, allocations: 56.38 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.7977, allocations: 0.541 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.7977, allocations: 24.61 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.7979, allocations: 40.38 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.7986, allocations: 303.4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.7986, allocations: 4.172 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.7987, allocations: 11.94 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.7987, allocations: 4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.7992, allocations: 219.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.8016, allocations: 1.187 MB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.8024, allocations: 471.8 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.8027, allocations: 186.5 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.8027, allocations: 0 / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.8033, allocations: 335 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.8033, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001327/0.8046, allocations: 0.6257 MB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.8048, allocations: 118.8 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.8058, allocations: 0.5994 MB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.8059, allocations: 45.7 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.8062, allocations: 222.5 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.8063, allocations: 47.44 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.8066, allocations: 185.5 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.8069, allocations: 358.8 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.8071, allocations: 127.9 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.8081, allocations: 0.7149 MB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.8086, allocations: 300.6 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8086, allocations: 3.938 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008905/0.8095, allocations: 421 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.8095, allocations: 12 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8095, allocations: 0 / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.8096, allocations: 11.94 kB / 1.031 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.8098, allocations: 35.86 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.8098, allocations: 11.98 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8112, allocations: 134.2 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.8113, allocations: 19.98 kB / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0005099/0.8118, allocations: 253.7 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.8119, allocations: 39.53 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.812, allocations: 52.06 kB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.812, allocations: 8 kB / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.812, allocations: 0 / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.8121, allocations: 11.92 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.8126, allocations: 401.2 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8126, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.8127, allocations: 11.98 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.8127, allocations: 0 / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.8127, allocations: 11.88 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.8127, allocations: 4 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8127, allocations: 0 / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.8137, allocations: 0.5176 MB / 1.032 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.8138, allocations: 124.6 kB / 1.032 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.8139, allocations: 11.86 kB / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.814, allocations: 19.98 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8142, allocations: 27.97 kB / 1.032 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.8143, allocations: 12 kB / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006042/0.8149, allocations: 439 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8149, allocations: 0 / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006092/0.8155, allocations: 111.9 kB / 1.033 GB, free: 1.68 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003618/0.8159, allocations: 149.9 kB / 1.033 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006975/0.8166, allocations: 379.9 kB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8166, allocations: 0 / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.8169, allocations: 183.9 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.8172, allocations: 38.08 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.819, allocations: 0.9248 MB / 1.034 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.8197, allocations: 0.8351 MB / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.82, allocations: 90.94 kB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.8201, allocations: 35.42 kB / 1.035 GB, free: 14.99 MB / 0.795 GB Notification: Performance of SimCode: time 7.12e-07/0.8201, allocations: 0 / 1.035 GB, free: 14.99 MB / 0.795 GB Notification: Performance of Templates: time 0.01759/0.8377, allocations: 7.922 MB / 1.043 GB, free: 7.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches