Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001635/0.001636, allocations: 103.5 kB / 16.27 MB, free: 6.414 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.001859/0.001859, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 66.16 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2636, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002515/0.2662, allocations: 0.8622 MB / 0.9511 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.2684, allocations: 1.45 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2685, allocations: 4 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.2691, allocations: 203.4 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2693, allocations: 103.6 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.2704, allocations: 359 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009671/0.2714, allocations: 0.858 MB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2716, allocations: 100.2 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.2721, allocations: 343.5 kB / 0.9545 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.2726, allocations: 271.2 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.2729, allocations: 48 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.2733, allocations: 111.9 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.2738, allocations: 343.3 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.2743, allocations: 266.8 kB / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009962/0.2753, allocations: 0.9002 MB / 0.9563 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2753, allocations: 0 / 0.9563 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2753, allocations: 7.938 kB / 0.9563 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.2753, allocations: 0 / 0.9563 GB, free: 2.641 MB / 0.7325 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.001966/0.2773, allocations: 0.884 MB / 0.9572 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.2773, allocations: 12.03 kB / 0.9572 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.2776, allocations: 52.47 kB / 0.9573 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.2785, allocations: 0.5448 MB / 0.9578 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.2786, allocations: 24.61 kB / 0.9578 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2787, allocations: 36.38 kB / 0.9578 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.2792, allocations: 313.7 kB / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2792, allocations: 0 / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2792, allocations: 0 / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2793, allocations: 4 kB / 0.9581 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.2796, allocations: 227.8 kB / 0.9584 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.2816, allocations: 1.195 MB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.2823, allocations: 463.7 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.2825, allocations: 182.6 kB / 0.9601 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2826, allocations: 4 kB / 0.9602 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.283, allocations: 334.6 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.283, allocations: 0 / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001032/0.2841, allocations: 0.6301 MB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.2842, allocations: 118.9 kB / 0.9612 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.2849, allocations: 0.5877 MB / 0.9618 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/0.285, allocations: 61.56 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.2852, allocations: 226.5 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.2853, allocations: 43.5 kB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.2855, allocations: 181.5 kB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2857, allocations: 362.8 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.2859, allocations: 131.9 kB / 0.9627 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.2867, allocations: 0.7058 MB / 0.9634 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.2871, allocations: 308.5 kB / 0.9637 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2871, allocations: 4 kB / 0.9637 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006867/0.2878, allocations: 424.6 kB / 0.9641 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2878, allocations: 7.938 kB / 0.9641 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2878, allocations: 4 kB / 0.9641 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2879, allocations: 4 kB / 0.9641 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2881, allocations: 35.92 kB / 0.9642 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2881, allocations: 4 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.2894, allocations: 134.6 kB / 0.9643 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2894, allocations: 16 kB / 0.9643 GB, free: 9.949 MB / 0.7481 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.0003335/0.2898, allocations: 269.6 kB / 0.9646 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.2899, allocations: 47.36 kB / 0.9646 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.29, allocations: 51.38 kB / 0.9647 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.29, allocations: 4 kB / 0.9647 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.29, allocations: 0 / 0.9647 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.29, allocations: 0 / 0.9647 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.2904, allocations: 401.2 kB / 0.9651 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2904, allocations: 4 kB / 0.9651 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.2905, allocations: 8 kB / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2905, allocations: 3.938 kB / 0.9651 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.2905, allocations: 7.984 kB / 0.9651 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2905, allocations: 4 kB / 0.9651 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2905, allocations: 7.938 kB / 0.9651 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.2912, allocations: 0.5059 MB / 0.9656 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2913, allocations: 128.5 kB / 0.9657 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.2914, allocations: 8 kB / 0.9657 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2915, allocations: 15.97 kB / 0.9657 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.2916, allocations: 35.97 kB / 0.9658 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2917, allocations: 8 kB / 0.9658 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004863/0.2921, allocations: 442.9 kB / 0.9662 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2922, allocations: 0 / 0.9662 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004826/0.2926, allocations: 115.9 kB / 0.9663 GB, free: 7.809 MB / 0.7481 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.0002712/0.2929, allocations: 149.4 kB / 0.9665 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.2935, allocations: 365.6 kB / 0.9668 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2935, allocations: 0 / 0.9668 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.2938, allocations: 219.8 kB / 0.967 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2942, allocations: 49.59 kB / 0.9671 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.2955, allocations: 0.8763 MB / 0.9679 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.296, allocations: 0.8351 MB / 0.9687 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2961, allocations: 35.44 kB / 0.9688 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.2961, allocations: 0 / 0.9688 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of Templates: time 0.01101/0.3071, allocations: 6.956 MB / 0.9756 GB, free: 14.41 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches