Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001492/0.001492, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001442/0.001442, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7427 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 69.91 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004578/0.2902, allocations: 2.509 MB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.2931, allocations: 1.567 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2933, allocations: 11.88 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.294, allocations: 303.2 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.2946, allocations: 307 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.2955, allocations: 414.5 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.2963, allocations: 0.709 MB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2965, allocations: 77.72 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.2969, allocations: 330.5 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.2973, allocations: 334.7 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.2973, allocations: 28 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2975, allocations: 91.91 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.2978, allocations: 203.3 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.298, allocations: 274.1 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.2986, allocations: 0.5888 MB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2987, allocations: 0 / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2987, allocations: 4 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2987, allocations: 0 / 1.072 GB, free: 6.883 MB / 0.8262 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.001511/0.3002, allocations: 0.9911 MB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3002, allocations: 20.02 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3004, allocations: 76 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.3013, allocations: 0.6172 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3013, allocations: 12.38 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3013, allocations: 19.92 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.3018, allocations: 197.8 kB / 1.074 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3018, allocations: 3.938 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3018, allocations: 4 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3018, allocations: 4 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.3021, allocations: 95.88 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3035, allocations: 1.059 MB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3041, allocations: 277 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3043, allocations: 112.1 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.3044, allocations: 7.984 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.3048, allocations: 228.5 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.3048, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0009534/0.3058, allocations: 425.5 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3059, allocations: 166.1 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3071, allocations: 1.032 MB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3072, allocations: 37.7 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.3074, allocations: 284.9 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.3075, allocations: 79.08 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3077, allocations: 138.2 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3079, allocations: 338 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.3083, allocations: 205.2 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.3088, allocations: 303.1 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.3095, allocations: 410.4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3095, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001219/0.3107, allocations: 0.6777 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3107, allocations: 8 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3107, allocations: 0 / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3108, allocations: 8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.3112, allocations: 115.8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3112, allocations: 12.09 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3115, allocations: 47.66 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.3115, allocations: 24 kB / 1.079 GB, free: 14.52 MB / 0.8419 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.0003121/0.3118, allocations: 271.6 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.3119, allocations: 79.05 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3121, allocations: 77.86 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3121, allocations: 4 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3121, allocations: 3.938 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3121, allocations: 8 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.3126, allocations: 457.2 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3126, allocations: 0 / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3127, allocations: 27.92 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3127, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3127, allocations: 7.984 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3127, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3127, allocations: 11.88 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.3134, allocations: 395.4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.3136, allocations: 160.1 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.3137, allocations: 8 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3138, allocations: 15.98 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.3139, allocations: 35.84 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.3139, allocations: 19.98 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007469/0.3147, allocations: 0.5966 MB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3147, allocations: 0 / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004047/0.3151, allocations: 116 kB / 1.082 GB, free: 12.15 MB / 0.8419 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.001706/0.3168, allocations: 487.4 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.3176, allocations: 411.6 kB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3176, allocations: 320 / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.3179, allocations: 111.8 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3188, allocations: 214.5 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.3206, allocations: 1.3 MB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.3212, allocations: 0.9323 MB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3213, allocations: 55.42 kB / 1.085 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3214, allocations: 0 / 1.085 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of Templates: time 0.01381/0.3352, allocations: 8.796 MB / 1.094 GB, free: 36 kB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches