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.006367/0.006367, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.92 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002423/0.3554, allocations: 0.8644 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3579, allocations: 1.457 MB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3581, allocations: 7.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.3587, allocations: 195.5 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.359, allocations: 115.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3602, allocations: 347.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.3611, allocations: 0.8855 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.3613, allocations: 100.2 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.3618, allocations: 339.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.3622, allocations: 271.2 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3624, allocations: 47.98 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.3626, allocations: 104 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.3632, allocations: 343.3 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.3636, allocations: 274.8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.365, allocations: 0.9112 MB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.365, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.319e-06/0.365, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.3651, allocations: 0 / 1.094 GB, free: 11.27 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.002078/0.3672, allocations: 0.9034 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3672, allocations: 15.97 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.3674, allocations: 52.66 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/0.3684, allocations: 0.5452 MB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3685, allocations: 20.61 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3686, allocations: 36.38 kB / 1.096 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.3691, allocations: 313.8 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3692, allocations: 4 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3692, allocations: 7.984 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3692, allocations: 3.984 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3696, allocations: 227.8 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.372, allocations: 1.176 MB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.3726, allocations: 471.6 kB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.3729, allocations: 182.6 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3729, allocations: 0 / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/0.3734, allocations: 331 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3734, allocations: 0 / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001067/0.3745, allocations: 0.6299 MB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3746, allocations: 118.8 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.3753, allocations: 0.5955 MB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.3754, allocations: 45.69 kB / 1.1 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.3757, allocations: 221.5 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.3757, allocations: 59.62 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.376, allocations: 173.5 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3762, allocations: 362.8 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3765, allocations: 127.9 kB / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.3775, allocations: 0.7137 MB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3779, allocations: 296.6 kB / 1.101 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.3779, allocations: 0 / 1.101 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007893/0.3787, allocations: 433.1 kB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.3788, allocations: 9.562 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.3788, allocations: 8.188 kB / 1.102 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.3788, allocations: 4.75 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.379, allocations: 31.92 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.3791, allocations: 8 kB / 1.102 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3804, allocations: 131.9 kB / 1.102 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3804, allocations: 15.94 kB / 1.102 GB, free: 2.574 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.0003837/0.3808, allocations: 257.6 kB / 1.102 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.3809, allocations: 51.64 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.381, allocations: 55.31 kB / 1.102 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.381, allocations: 7.984 kB / 1.102 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.381, allocations: 0 / 1.102 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.381, allocations: 7.984 kB / 1.102 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.3815, allocations: 405.3 kB / 1.103 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3815, allocations: 3.938 kB / 1.103 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3815, allocations: 4 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3815, allocations: 4 kB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3816, allocations: 15.92 kB / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3816, allocations: 0 / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3816, allocations: 0 / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.3823, allocations: 0.5154 MB / 1.103 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3824, allocations: 128.8 kB / 1.103 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3825, allocations: 11.94 kB / 1.103 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3827, allocations: 15.97 kB / 1.103 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.3827, allocations: 27.97 kB / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3828, allocations: 20 kB / 1.103 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005251/0.3833, allocations: 431.1 kB / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3833, allocations: 0 / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004987/0.3838, allocations: 111.9 kB / 1.104 GB, free: 440 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.0003318/0.3842, allocations: 145.3 kB / 1.104 GB, free: 284 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.3848, allocations: 355.6 kB / 1.104 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3848, allocations: 0 / 1.104 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.385, allocations: 199.7 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3854, allocations: 39.78 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3867, allocations: 0.8386 MB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.3871, allocations: 0.8351 MB / 1.106 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3874, allocations: 104.6 kB / 1.106 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3875, allocations: 35.44 kB / 1.106 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/0.3875, allocations: 4 kB / 1.106 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.01413/0.4016, allocations: 7.975 MB / 1.114 GB, free: 5.934 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