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.008333/0.008333, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001908/0.001909, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.465/2.465, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9785/0.9799, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002251/0.9822, allocations: 0.8704 MB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.9843, allocations: 1.443 MB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.9845, allocations: 6.344 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.9851, allocations: 199.1 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.9853, allocations: 114.9 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.9866, allocations: 357 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.988, allocations: 0.8795 MB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.9883, allocations: 98.36 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.9889, allocations: 356.3 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.9895, allocations: 255.9 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.9897, allocations: 45.25 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.9902, allocations: 110.3 kB / 1.093 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000692/0.9909, allocations: 344.6 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.9914, allocations: 278.1 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.9929, allocations: 0.9038 MB / 1.094 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.9929, allocations: 0.6094 kB / 1.094 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.528e-06/0.9929, allocations: 0.5312 kB / 1.094 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.9929, allocations: 3.938 kB / 1.094 GB, free: 2.492 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.001919/0.9948, allocations: 0.8861 MB / 1.095 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.9949, allocations: 13.19 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.9951, allocations: 55.33 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.9961, allocations: 0.5386 MB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.9962, allocations: 24.33 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.9963, allocations: 33.88 kB / 1.096 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.997, allocations: 314.8 kB / 1.096 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.997, allocations: 0 / 1.096 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.997, allocations: 10.62 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.997, allocations: 7.438 kB / 1.096 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.9975, allocations: 224.9 kB / 1.096 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.9996, allocations: 1.182 MB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/1, allocations: 471.5 kB / 1.098 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/1.001, allocations: 177.3 kB / 1.098 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/1.001, allocations: 2.719 kB / 1.098 GB, free: 324 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/1.001, allocations: 327.6 kB / 1.098 GB, free: 188 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/1.001, allocations: 0 / 1.098 GB, free: 188 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001325/1.003, allocations: 0.6289 MB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/1.003, allocations: 123.6 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.004, allocations: 0.5921 MB / 1.099 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.004, allocations: 49.17 kB / 1.1 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/1.004, allocations: 219.7 kB / 1.1 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/1.004, allocations: 52.53 kB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/1.005, allocations: 183.5 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.005, allocations: 364.7 kB / 1.1 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.005, allocations: 123.1 kB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.006, allocations: 0.7126 MB / 1.101 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/1.007, allocations: 306.2 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.007, allocations: 2.078 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008143/1.008, allocations: 414.3 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.008, allocations: 7.062 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.008, allocations: 12.03 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.008, allocations: 6.094 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.008, allocations: 31.66 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.008, allocations: 4.859 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.009, allocations: 133.6 kB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/1.009, allocations: 12.64 kB / 1.102 GB, free: 13.93 MB / 0.8731 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.0003718/1.01, allocations: 257.5 kB / 1.102 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.01, allocations: 43.28 kB / 1.102 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/1.01, allocations: 51.27 kB / 1.102 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.01, allocations: 8.109 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.01, allocations: 4 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.01, allocations: 2.953 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/1.01, allocations: 411.4 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.01, allocations: 5.094 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/1.011, allocations: 6.875 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.011, allocations: 1.969 kB / 1.103 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/1.011, allocations: 13.67 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.011, allocations: 5.219 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.011, allocations: 5.141 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/1.011, allocations: 0.5177 MB / 1.103 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.011, allocations: 126.5 kB / 1.103 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/1.012, allocations: 11.69 kB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/1.012, allocations: 17.89 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/1.012, allocations: 29.67 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/1.012, allocations: 13.02 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006105/1.012, allocations: 437.3 kB / 1.104 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.577e-06/1.012, allocations: 1.156 kB / 1.104 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000597/1.013, allocations: 115.9 kB / 1.104 GB, free: 12.84 MB / 0.8731 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.0002974/1.013, allocations: 147.6 kB / 1.104 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007021/1.014, allocations: 361.7 kB / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.014, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/1.014, allocations: 188.2 kB / 1.105 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/1.015, allocations: 37.03 kB / 1.105 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/1.016, allocations: 0.8197 MB / 1.105 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/1.017, allocations: 0.8369 MB / 1.106 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002792/1.017, allocations: 96.56 kB / 1.106 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.017, allocations: 33.84 kB / 1.106 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/1.017, allocations: 0 / 1.106 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.02003/1.037, allocations: 7.977 MB / 1.114 GB, free: 10.85 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