Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008108/0.008108, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001267/0.001267, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 64.19 kB / 0.8991 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004516/0.3247, allocations: 2.507 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3278, allocations: 1.563 MB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.3284, allocations: 11.88 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.3293, allocations: 307.2 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009417/0.3302, allocations: 299 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3315, allocations: 416.3 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3325, allocations: 0.6621 MB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.3328, allocations: 73.73 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.3334, allocations: 294.5 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.3339, allocations: 302.7 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.334, allocations: 16 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.3343, allocations: 71.95 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.3346, allocations: 187.3 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.3349, allocations: 258.1 kB / 1.06 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.3356, allocations: 0.581 MB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3356, allocations: 0 / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3357, allocations: 0 / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.909e-05/0.3357, allocations: 0 / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002154/0.3379, allocations: 1.007 MB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3379, allocations: 8.031 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.3381, allocations: 72 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3392, allocations: 0.629 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3392, allocations: 8.312 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3393, allocations: 23.88 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.3397, allocations: 199.3 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3398, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3398, allocations: 8 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3398, allocations: 4 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.3401, allocations: 95.88 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3417, allocations: 1.056 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.3423, allocations: 281 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.3426, allocations: 104.2 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3426, allocations: 4 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.343, allocations: 224.7 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.343, allocations: 0 / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001062/0.3441, allocations: 429.5 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.3442, allocations: 162.2 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3455, allocations: 1.036 MB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3456, allocations: 33.7 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3458, allocations: 288.8 kB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.3459, allocations: 83.08 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.3461, allocations: 142.2 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3463, allocations: 326 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.3467, allocations: 209.2 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.3471, allocations: 311 kB / 1.067 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.3478, allocations: 412 kB / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.3478, allocations: 0 / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001173/0.349, allocations: 0.6676 MB / 1.068 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.349, allocations: 7.984 kB / 1.068 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3491, allocations: 4 kB / 1.068 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3491, allocations: 8.156 kB / 1.068 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.3495, allocations: 115.8 kB / 1.068 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.3495, allocations: 15.92 kB / 1.068 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.3499, allocations: 35.77 kB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.3499, allocations: 24 kB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003298/0.3503, allocations: 273.6 kB / 1.068 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3504, allocations: 75.06 kB / 1.068 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.3505, allocations: 77.81 kB / 1.068 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.3506, allocations: 8 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3506, allocations: 7.875 kB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3506, allocations: 0 / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.3511, allocations: 469.1 kB / 1.069 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3511, allocations: 4 kB / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.3512, allocations: 24.06 kB / 1.069 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3512, allocations: 0 / 1.069 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3512, allocations: 11.98 kB / 1.069 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3512, allocations: 4 kB / 1.069 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3512, allocations: 3.938 kB / 1.069 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.3519, allocations: 396.3 kB / 1.069 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3521, allocations: 160.1 kB / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.3522, allocations: 12 kB / 1.069 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3524, allocations: 19.97 kB / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.3524, allocations: 19.92 kB / 1.069 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3525, allocations: 19.98 kB / 1.069 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007614/0.3532, allocations: 0.6044 MB / 1.07 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3532, allocations: 0 / 1.07 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004566/0.3537, allocations: 116 kB / 1.07 GB, free: 6.051 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001253/0.355, allocations: 481.4 kB / 1.071 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007938/0.3558, allocations: 409.2 kB / 1.071 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3558, allocations: 0 / 1.071 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.356, allocations: 104.4 kB / 1.071 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.357, allocations: 202.3 kB / 1.071 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3588, allocations: 1.291 MB / 1.072 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.3593, allocations: 0.9287 MB / 1.073 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3595, allocations: 55.42 kB / 1.073 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3595, allocations: 0 / 1.073 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.01565/0.3752, allocations: 8.799 MB / 1.082 GB, free: 9.973 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches