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.001531/0.001531, allocations: 104.3 kB / 16.4 MB, free: 6.41 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.001725/0.001725, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9146, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001938/0.9165, allocations: 0.8597 MB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.9185, allocations: 1.45 MB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.9186, allocations: 6.344 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.9192, allocations: 196 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.9194, allocations: 115.3 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.9206, allocations: 373 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.9218, allocations: 0.8714 MB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.922, allocations: 99.81 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.9225, allocations: 350 kB / 1.093 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.923, allocations: 260.1 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.9232, allocations: 45.78 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.9235, allocations: 110.7 kB / 1.093 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.924, allocations: 340.4 kB / 1.094 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.9244, allocations: 277.4 kB / 1.094 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.9256, allocations: 0.9118 MB / 1.095 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9257, allocations: 1.953 kB / 1.095 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9257, allocations: 0 / 1.095 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.9257, allocations: 0 / 1.095 GB, free: 2.504 MB / 0.8575 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.001683/0.9274, allocations: 0.8814 MB / 1.096 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9274, allocations: 13.84 kB / 1.096 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.9277, allocations: 54.12 kB / 1.096 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.9285, allocations: 0.5395 MB / 1.096 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.9285, allocations: 28.69 kB / 1.096 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.9287, allocations: 41.53 kB / 1.096 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.9293, allocations: 310.6 kB / 1.097 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9293, allocations: 0 / 1.097 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.9293, allocations: 6.781 kB / 1.097 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9293, allocations: 4.141 kB / 1.097 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.9297, allocations: 220.8 kB / 1.097 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.9317, allocations: 1.185 MB / 1.098 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.9324, allocations: 472.3 kB / 1.098 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.9327, allocations: 177 kB / 1.099 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.9327, allocations: 6.438 kB / 1.099 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.9332, allocations: 323.3 kB / 1.099 GB, free: 204 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 2.345e-06/0.9333, allocations: 1 kB / 1.099 GB, free: 204 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001572/0.9348, allocations: 0.6273 MB / 1.099 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.935, allocations: 124.2 kB / 1.1 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.9362, allocations: 0.5921 MB / 1.1 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.9364, allocations: 48.23 kB / 1.1 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.9367, allocations: 216.3 kB / 1.1 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.9367, allocations: 57.02 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.9372, allocations: 183.4 kB / 1.101 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.9374, allocations: 365 kB / 1.101 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.9376, allocations: 127.5 kB / 1.101 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009527/0.9385, allocations: 0.7083 MB / 1.102 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.9389, allocations: 303.2 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.9389, allocations: 3.938 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000738/0.9397, allocations: 415.8 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.9397, allocations: 7.219 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9397, allocations: 8.125 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.9398, allocations: 5.25 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.9399, allocations: 43.02 kB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.94, allocations: 9.469 kB / 1.103 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9414, allocations: 122 kB / 1.103 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.9414, allocations: 16.05 kB / 1.103 GB, free: 13.95 MB / 0.8731 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.0004113/0.9418, allocations: 261.9 kB / 1.103 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.9419, allocations: 47.23 kB / 1.103 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.942, allocations: 55.28 kB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.942, allocations: 3.312 kB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.942, allocations: 1.094 kB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.942, allocations: 2.625 kB / 1.103 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.9425, allocations: 412.1 kB / 1.103 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9425, allocations: 1.5 kB / 1.103 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.9426, allocations: 8.562 kB / 1.103 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.9426, allocations: 2.719 kB / 1.103 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.9426, allocations: 9.781 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.9426, allocations: 1.188 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9426, allocations: 1.766 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008066/0.9434, allocations: 0.5186 MB / 1.104 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.9436, allocations: 122.8 kB / 1.104 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.9436, allocations: 11.75 kB / 1.104 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.9438, allocations: 17.38 kB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.9439, allocations: 29.83 kB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.944, allocations: 13.62 kB / 1.104 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005896/0.9446, allocations: 433.8 kB / 1.105 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9446, allocations: 0 / 1.105 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006094/0.9452, allocations: 116.1 kB / 1.105 GB, free: 12.87 MB / 0.8731 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.0002718/0.9455, allocations: 150.4 kB / 1.105 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.9461, allocations: 356.7 kB / 1.105 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9462, allocations: 0.75 kB / 1.105 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.9465, allocations: 230.8 kB / 1.105 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.9469, allocations: 38.58 kB / 1.105 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.9483, allocations: 0.8601 MB / 1.106 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.9488, allocations: 0.8356 MB / 1.107 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.9489, allocations: 38.78 kB / 1.107 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.9489, allocations: 0 / 1.107 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.01383/0.9627, allocations: 7.004 MB / 1.114 GB, free: 10.71 MB / 0.8731 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