Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001001/0.001001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01023/0.01023, allocations: 170 kB / 16.26 MB, free: 6.613 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 0.8729 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8859, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00117/0.8871, allocations: 0.5735 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.8894, allocations: 1.452 MB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.8895, allocations: 7.938 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.8901, allocations: 187.5 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.8903, allocations: 99.75 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.8914, allocations: 323.6 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009194/0.8923, allocations: 0.7683 MB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.8925, allocations: 96.23 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.8931, allocations: 303.3 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.8936, allocations: 235.3 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.8937, allocations: 12 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.894, allocations: 75.94 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.8944, allocations: 307.2 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.8947, allocations: 256.5 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.8955, allocations: 0.8627 MB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8955, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8955, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.8955, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 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.001246/0.8968, allocations: 0.6972 MB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8968, allocations: 8.031 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.897, allocations: 56.38 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.8977, allocations: 0.5448 MB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.8978, allocations: 24.61 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.8979, allocations: 36.38 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.8984, allocations: 304.1 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8984, allocations: 4.125 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.8984, allocations: 15.92 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.8984, allocations: 7.938 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.8988, allocations: 211.9 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.9006, allocations: 1.191 MB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.9013, allocations: 471.7 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.9015, allocations: 182.5 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.9015, allocations: 0 / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.902, allocations: 337.4 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.902, allocations: 0 / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001007/0.903, allocations: 0.6258 MB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.9031, allocations: 118.8 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.9038, allocations: 0.5955 MB / 1.034 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.9039, allocations: 45.69 kB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.9041, allocations: 226.5 kB / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.9042, allocations: 55.34 kB / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.9043, allocations: 37.7 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9044, allocations: 362.8 kB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.9046, allocations: 123.9 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/0.9054, allocations: 0.7187 MB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.9057, allocations: 300.6 kB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9058, allocations: 0 / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006054/0.9064, allocations: 421.1 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9064, allocations: 16.8 kB / 1.036 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9064, allocations: 4 kB / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.9064, allocations: 7.938 kB / 1.036 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9066, allocations: 35.92 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.9066, allocations: 7.938 kB / 1.036 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.9079, allocations: 134.9 kB / 1.036 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.908, allocations: 16 kB / 1.036 GB, free: 1.949 MB / 0.7794 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.0002976/0.9083, allocations: 258.7 kB / 1.036 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.9083, allocations: 43.47 kB / 1.036 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.9084, allocations: 59.3 kB / 1.036 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9084, allocations: 4 kB / 1.036 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.9084, allocations: 4 kB / 1.036 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9085, allocations: 0 / 1.036 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.9089, allocations: 409.4 kB / 1.037 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9089, allocations: 4 kB / 1.037 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.9089, allocations: 11.94 kB / 1.037 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.9089, allocations: 4 kB / 1.037 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.9089, allocations: 11.92 kB / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9089, allocations: 0 / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9089, allocations: 0 / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.9096, allocations: 0.5199 MB / 1.037 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.9098, allocations: 132.6 kB / 1.038 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.9098, allocations: 11.92 kB / 1.038 GB, free: 404 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.91, allocations: 23.92 kB / 1.038 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.9101, allocations: 23.97 kB / 1.038 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.9101, allocations: 23.98 kB / 1.038 GB, free: 332 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000516/0.9106, allocations: 431.1 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9106, allocations: 0 / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004704/0.9111, allocations: 111.8 kB / 1.038 GB, free: 15.8 MB / 0.795 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.0002626/0.9114, allocations: 149.3 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.912, allocations: 359.6 kB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.912, allocations: 0 / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.9122, allocations: 187.9 kB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.9126, allocations: 46.58 kB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.9138, allocations: 0.9223 MB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.9143, allocations: 0.8314 MB / 1.041 GB, free: 13.26 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.9145, allocations: 94.92 kB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.9146, allocations: 39.38 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.9146, allocations: 4 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of Templates: time 0.01352/0.9281, allocations: 7.593 MB / 1.048 GB, free: 5.613 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches