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.01206/0.01206, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002879/0.002879, allocations: 186.9 kB / 16.67 MB, free: 5.887 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: 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.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00235/1.071, allocations: 0.8689 MB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002298/1.073, allocations: 1.443 MB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/1.073, allocations: 3.406 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006005/1.074, allocations: 200.1 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/1.074, allocations: 114.7 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/1.075, allocations: 353.6 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001166/1.076, allocations: 0.8797 MB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/1.076, allocations: 94.56 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/1.077, allocations: 354.8 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/1.077, allocations: 259.8 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/1.077, allocations: 45.28 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/1.078, allocations: 110.3 kB / 1.093 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/1.078, allocations: 345.2 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003964/1.079, allocations: 273.1 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/1.08, allocations: 0.912 MB / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.08, allocations: 1.812 kB / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/1.08, allocations: 0 / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.08, allocations: 0 / 1.094 GB, free: 2.484 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.001796/1.082, allocations: 0.8816 MB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.082, allocations: 13 kB / 1.095 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/1.082, allocations: 58.55 kB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/1.083, allocations: 0.5434 MB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/1.083, allocations: 25.38 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.083, allocations: 40.89 kB / 1.096 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/1.084, allocations: 310.7 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.084, allocations: 4 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/1.084, allocations: 2.766 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/1.084, allocations: 7.75 kB / 1.096 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/1.085, allocations: 221.2 kB / 1.096 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/1.087, allocations: 1.182 MB / 1.097 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/1.088, allocations: 468.4 kB / 1.098 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/1.088, allocations: 181 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/1.088, allocations: 1.75 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/1.088, allocations: 332.2 kB / 1.098 GB, free: 176 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 2.605e-06/1.089, allocations: 1.094 kB / 1.098 GB, free: 176 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.00143/1.09, allocations: 0.6232 MB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.09, allocations: 119.9 kB / 1.099 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.091, allocations: 0.5959 MB / 1.099 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/1.091, allocations: 48.67 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.092, allocations: 215.9 kB / 1.1 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/1.092, allocations: 52.94 kB / 1.1 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/1.092, allocations: 184.1 kB / 1.1 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.092, allocations: 364.8 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.093, allocations: 127.7 kB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.094, allocations: 0.7079 MB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/1.094, allocations: 310.9 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.094, allocations: 0 / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008628/1.095, allocations: 417.1 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.095, allocations: 10.31 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.095, allocations: 6.719 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.095, allocations: 9.766 kB / 1.102 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.095, allocations: 34.89 kB / 1.102 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.095, allocations: 6.312 kB / 1.102 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.097, allocations: 125.3 kB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/1.097, allocations: 20.36 kB / 1.102 GB, free: 13.92 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.0004603/1.097, allocations: 261 kB / 1.102 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/1.097, allocations: 39.12 kB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.098, allocations: 56.59 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.098, allocations: 2.5 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.098, allocations: 5.75 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.098, allocations: 1.359 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/1.098, allocations: 408.7 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.098, allocations: 1.969 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/1.098, allocations: 8.688 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.098, allocations: 2.594 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.098, allocations: 9.609 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.098, allocations: 1.156 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.098, allocations: 5.156 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/1.099, allocations: 0.5155 MB / 1.103 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.099, allocations: 127.7 kB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/1.099, allocations: 9.953 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.1, allocations: 14.69 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.1, allocations: 29.7 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/1.1, allocations: 12.73 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007118/1.1, allocations: 442.4 kB / 1.104 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.1, allocations: 0 / 1.104 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000789/1.101, allocations: 116.6 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.0003743/1.102, allocations: 147.3 kB / 1.104 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008187/1.102, allocations: 364.5 kB / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.102, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/1.103, allocations: 184.3 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.0003897/1.103, allocations: 44.38 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.001679/1.105, allocations: 0.8207 MB / 1.105 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/1.106, allocations: 0.8342 MB / 1.106 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003237/1.106, allocations: 98.94 kB / 1.106 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/1.106, allocations: 38.66 kB / 1.106 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/1.106, allocations: 0 / 1.106 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.02106/1.127, allocations: 7.976 MB / 1.114 GB, free: 10.84 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