Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TimeTableNegativeStartTime,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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001099/0.001099, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 61.44 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3072, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001965/0.3093, allocations: 0.6937 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3109, allocations: 1.34 MB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.311, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.3115, allocations: 191.6 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.3116, allocations: 115.6 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.3123, allocations: 223.1 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.3129, allocations: 499.6 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3129, allocations: 12 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3131, allocations: 203.7 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.3134, allocations: 203.6 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/0.3135, allocations: 24 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3137, allocations: 79.94 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.314, allocations: 251.5 kB / 1.023 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3142, allocations: 155.3 kB / 1.023 GB, free: 5.855 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.3147, allocations: 478.8 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3147, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3147, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3147, allocations: 3.938 kB / 1.023 GB, free: 5.383 MB / 0.795 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.0009607/0.3157, allocations: 0.6384 MB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3157, allocations: 16.88 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3159, allocations: 28.66 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.3165, allocations: 384.1 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3165, allocations: 12.38 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.3166, allocations: 24.36 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3169, allocations: 180.7 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3169, allocations: 4.188 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3169, allocations: 7.938 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3169, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.3171, allocations: 115.9 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3175, allocations: 383.1 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.3179, allocations: 319.6 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3181, allocations: 126.6 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.3181, allocations: 0 / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.3185, allocations: 289.5 kB / 1.026 GB, free: 2.676 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.3185, allocations: 0 / 1.026 GB, free: 2.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0007855/0.3193, allocations: 0.497 MB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3193, allocations: 114.8 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.3198, allocations: 396.5 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.3198, allocations: 37.7 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3199, allocations: 160.8 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.32, allocations: 43.48 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3202, allocations: 121.5 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3203, allocations: 342.8 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3204, allocations: 83.94 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.3209, allocations: 468.6 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.3212, allocations: 261.5 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3212, allocations: 4 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004546/0.3216, allocations: 325.2 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3217, allocations: 7.938 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3217, allocations: 4 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3217, allocations: 8 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3219, allocations: 31.92 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3219, allocations: 7.938 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.3226, allocations: 62.73 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3226, allocations: 24.23 kB / 1.028 GB, free: 15.49 MB / 0.8106 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.0002154/0.3228, allocations: 191.9 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3229, allocations: 39.55 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.323, allocations: 33.89 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.323, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.323, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.323, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3233, allocations: 289.5 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3233, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.3233, allocations: 4 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3233, allocations: 7.875 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3233, allocations: 7.984 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3233, allocations: 4 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3233, allocations: 3.938 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.3239, allocations: 434.3 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.324, allocations: 105 kB / 1.029 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.324, allocations: 7.922 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.3241, allocations: 11.98 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3242, allocations: 11.98 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3242, allocations: 15.98 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003327/0.3246, allocations: 287 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3246, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004849/0.3251, allocations: 80 kB / 1.03 GB, free: 13.88 MB / 0.8106 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.0003442/0.3254, allocations: 147.7 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.3259, allocations: 251.7 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3259, allocations: 0.8125 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.3261, allocations: 147.9 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3264, allocations: 28.64 kB / 1.03 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3275, allocations: 0.569 MB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3279, allocations: 0.7713 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.3281, allocations: 52.44 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.3282, allocations: 23.44 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of SimCode: time 9.11e-07/0.3282, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.009406/0.3376, allocations: 4.996 MB / 1.037 GB, free: 6.891 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches