Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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 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.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0109/0.0109, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001972/0.001972, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.624/2.624, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.47 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3329, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002459/0.3354, allocations: 0.8676 MB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3378, allocations: 1.449 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.3379, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.3385, allocations: 199.5 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3387, allocations: 111.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.34, allocations: 360.6 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3412, allocations: 0.8855 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.3415, allocations: 96.23 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.342, allocations: 347.4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.3426, allocations: 267.3 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3427, allocations: 48 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.3431, allocations: 107.9 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.3436, allocations: 343.3 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.344, allocations: 274.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3452, allocations: 0.9115 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3452, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3453, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3453, allocations: 0 / 1.094 GB, free: 11.25 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.001629/0.3469, allocations: 0.8919 MB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.347, allocations: 11.97 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.3472, allocations: 52.38 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.348, allocations: 0.5371 MB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.348, allocations: 24.55 kB / 1.096 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3481, allocations: 36.38 kB / 1.096 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.3487, allocations: 309.8 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3487, allocations: 4 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.3488, allocations: 7.984 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3488, allocations: 4 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.3492, allocations: 219.8 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.3514, allocations: 1.176 MB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.3521, allocations: 475.7 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.3524, allocations: 182.6 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3524, allocations: 4 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005258/0.3529, allocations: 327.1 kB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 2.174e-06/0.3529, allocations: 0 / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001088/0.354, allocations: 0.6335 MB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3542, allocations: 114.8 kB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/0.355, allocations: 0.6032 MB / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.3551, allocations: 49.64 kB / 1.1 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.3553, allocations: 213.5 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.3554, allocations: 52.16 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.3557, allocations: 181.5 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3559, allocations: 354.8 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3561, allocations: 131.9 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/0.357, allocations: 0.7098 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.3574, allocations: 300.6 kB / 1.101 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.3574, allocations: 4 kB / 1.101 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007098/0.3581, allocations: 416.9 kB / 1.102 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3581, allocations: 11.94 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3582, allocations: 7.938 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3582, allocations: 4 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3584, allocations: 31.92 kB / 1.102 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3584, allocations: 7.984 kB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3597, allocations: 142.3 kB / 1.102 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3597, allocations: 12.23 kB / 1.102 GB, free: 2.582 MB / 0.8575 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.0003587/0.3601, allocations: 265.6 kB / 1.102 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.3602, allocations: 39.53 kB / 1.102 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.3603, allocations: 59.31 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3603, allocations: 4 kB / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3603, allocations: 0 / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3603, allocations: 3.984 kB / 1.102 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3608, allocations: 405.2 kB / 1.103 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3608, allocations: 4 kB / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.3608, allocations: 3.984 kB / 1.103 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3608, allocations: 4 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3608, allocations: 11.94 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3608, allocations: 0 / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3609, allocations: 11.94 kB / 1.103 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.3616, allocations: 0.5036 MB / 1.103 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3617, allocations: 124.6 kB / 1.103 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.3617, allocations: 15.92 kB / 1.103 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3619, allocations: 11.98 kB / 1.103 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.362, allocations: 39.91 kB / 1.103 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.362, allocations: 12 kB / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004874/0.3626, allocations: 435 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004847/0.3631, allocations: 115.8 kB / 1.104 GB, free: 452 kB / 0.8575 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.0002942/0.3634, allocations: 141.4 kB / 1.104 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.364, allocations: 367.5 kB / 1.104 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.364, allocations: 0 / 1.104 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.3642, allocations: 187.9 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3645, allocations: 38.31 kB / 1.105 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3658, allocations: 0.8276 MB / 1.105 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.3663, allocations: 0.835 MB / 1.106 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.3665, allocations: 86.94 kB / 1.106 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.3666, allocations: 43.42 kB / 1.106 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.3666, allocations: 0 / 1.106 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.01521/0.3819, allocations: 8.155 MB / 1.114 GB, free: 5.793 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches