Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.01002/0.01002, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001949/0.001949, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.556/1.556, allocations: 222.9 MB / 240.3 MB, free: 15.14 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.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002474/1.004, allocations: 0.6772 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002182/1.006, allocations: 1.339 MB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/1.006, allocations: 1.125 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/1.007, allocations: 192.2 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/1.007, allocations: 103.4 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/1.008, allocations: 241.4 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007669/1.009, allocations: 493.1 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/1.009, allocations: 13.86 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/1.009, allocations: 204.3 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/1.01, allocations: 212.4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.01, allocations: 21.09 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/1.01, allocations: 80.56 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/1.011, allocations: 250.6 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/1.011, allocations: 154 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/1.012, allocations: 479 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.012, allocations: 0.8125 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.012, allocations: 0 / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.012, allocations: 0 / 1.092 GB, free: 3.363 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001077/1.013, allocations: 0.6338 MB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.013, allocations: 9.922 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/1.013, allocations: 30.5 kB / 1.093 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/1.014, allocations: 381.3 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/1.014, allocations: 14.36 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/1.014, allocations: 24.72 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/1.014, allocations: 194.5 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.014, allocations: 4 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/1.014, allocations: 3.156 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.014, allocations: 0.9062 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/1.014, allocations: 115.5 kB / 1.094 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/1.015, allocations: 388 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/1.015, allocations: 323.3 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/1.016, allocations: 124.2 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/1.016, allocations: 5.422 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/1.016, allocations: 287.1 kB / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/1.016, allocations: 0 / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001032/1.017, allocations: 0.4935 MB / 1.095 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.017, allocations: 115.1 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/1.018, allocations: 399.6 kB / 1.096 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/1.018, allocations: 42.53 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.018, allocations: 149.3 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/1.018, allocations: 41.89 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.018, allocations: 115.1 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/1.018, allocations: 342.1 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/1.019, allocations: 83.36 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/1.019, allocations: 465.4 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/1.019, allocations: 257.7 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.019, allocations: 0.875 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005712/1.02, allocations: 333 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.02, allocations: 5.781 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.02, allocations: 4.812 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.02, allocations: 4.531 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.02, allocations: 33.73 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.02, allocations: 6.234 kB / 1.097 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/1.021, allocations: 78.22 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/1.021, allocations: 11.48 kB / 1.098 GB, free: 100 kB / 0.8575 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.0002828/1.021, allocations: 201.5 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/1.021, allocations: 33.27 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/1.022, allocations: 37.22 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.022, allocations: 2.906 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.022, allocations: 1.531 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.022, allocations: 1.359 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/1.022, allocations: 286.1 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.022, allocations: 1.891 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/1.022, allocations: 4.781 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.022, allocations: 1.125 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/1.022, allocations: 10.98 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.022, allocations: 1.531 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.022, allocations: 8.734 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/1.023, allocations: 436.7 kB / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/1.023, allocations: 103.7 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/1.023, allocations: 7.141 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/1.023, allocations: 6.891 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/1.023, allocations: 16.34 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/1.023, allocations: 16.44 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004004/1.024, allocations: 291.8 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/1.024, allocations: 0 / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005392/1.024, allocations: 77.11 kB / 1.099 GB, free: 15.22 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: 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.0002918/1.024, allocations: 138.8 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006094/1.025, allocations: 262.5 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.025, allocations: 0.5 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/1.025, allocations: 147.1 kB / 1.1 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/1.026, allocations: 29.75 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.027, allocations: 0.5548 MB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.027, allocations: 0.7676 MB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001776/1.028, allocations: 45.72 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/1.028, allocations: 34.36 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/1.028, allocations: 0 / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01537/1.043, allocations: 5.13 MB / 1.106 GB, free: 13.56 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches