Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001562/0.001562, allocations: 104 kB / 16.35 MB, free: 5.824 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.001636/0.001636, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.594/2.594, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.62 kB / 0.8774 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3961, allocations: 153 MB / 1.027 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002367/0.3985, allocations: 0.8629 MB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.4007, allocations: 1.459 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.4008, allocations: 7.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.4013, allocations: 199.5 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.4015, allocations: 107.6 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.4025, allocations: 373.1 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.4035, allocations: 0.8699 MB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.4037, allocations: 104.2 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.4041, allocations: 343.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.4045, allocations: 263.2 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.4047, allocations: 44 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.4049, allocations: 115.9 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.4054, allocations: 343.3 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4058, allocations: 278.7 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.4068, allocations: 0.9077 MB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4068, allocations: 3.984 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4068, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.4068, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 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.001729/0.4085, allocations: 0.8802 MB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.615e-05/0.4086, allocations: 8.031 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.4088, allocations: 60.31 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.4098, allocations: 0.5448 MB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.4099, allocations: 24.61 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.41, allocations: 36.38 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.4105, allocations: 311.6 kB / 1.035 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4105, allocations: 192 / 1.035 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.4105, allocations: 7.938 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.4106, allocations: 4 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.4109, allocations: 223.8 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.4129, allocations: 1.176 MB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.4136, allocations: 475.6 kB / 1.036 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4138, allocations: 182.6 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4139, allocations: 0 / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.4144, allocations: 333.9 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.4144, allocations: 0 / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.001095/0.4155, allocations: 0.6218 MB / 1.038 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4156, allocations: 122.7 kB / 1.038 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.4164, allocations: 0.5993 MB / 1.038 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.4165, allocations: 45.7 kB / 1.038 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4167, allocations: 221.5 kB / 1.039 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.4168, allocations: 47.44 kB / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.417, allocations: 185.5 kB / 1.039 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4172, allocations: 358.8 kB / 1.039 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.4174, allocations: 128.2 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.4183, allocations: 0.7104 MB / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.4187, allocations: 304.6 kB / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4187, allocations: 0 / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006317/0.4193, allocations: 416.7 kB / 1.041 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4193, allocations: 11.94 kB / 1.041 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4194, allocations: 0 / 1.041 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.4194, allocations: 8.375 kB / 1.041 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.4196, allocations: 39.86 kB / 1.041 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.4196, allocations: 11.98 kB / 1.041 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4208, allocations: 132.4 kB / 1.041 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.4209, allocations: 16 kB / 1.041 GB, free: 3.031 MB / 0.8106 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.0003452/0.4212, allocations: 265.6 kB / 1.041 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.4213, allocations: 39.53 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.4214, allocations: 51.31 kB / 1.041 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4214, allocations: 7.938 kB / 1.041 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4214, allocations: 3.984 kB / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4214, allocations: 4 kB / 1.041 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.4219, allocations: 405.2 kB / 1.042 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4219, allocations: 0 / 1.042 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.4219, allocations: 11.98 kB / 1.042 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4219, allocations: 0 / 1.042 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4219, allocations: 4 kB / 1.042 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.422, allocations: 7.938 kB / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.422, allocations: 0 / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.4227, allocations: 0.5224 MB / 1.042 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4228, allocations: 124.6 kB / 1.042 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.4229, allocations: 3.984 kB / 1.042 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.423, allocations: 23.92 kB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.4231, allocations: 27.97 kB / 1.042 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.4232, allocations: 15.98 kB / 1.042 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005237/0.4237, allocations: 431.1 kB / 1.043 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4237, allocations: 0 / 1.043 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005266/0.4242, allocations: 108 kB / 1.043 GB, free: 0.9023 MB / 0.8106 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.0003601/0.4246, allocations: 157.3 kB / 1.043 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.4252, allocations: 352.1 kB / 1.043 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4253, allocations: 0.75 kB / 1.043 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4255, allocations: 195.8 kB / 1.043 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.4258, allocations: 45.94 kB / 1.043 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4272, allocations: 0.8286 MB / 1.044 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4277, allocations: 0.835 MB / 1.045 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.4279, allocations: 90.94 kB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.428, allocations: 39.42 kB / 1.045 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.428, allocations: 0 / 1.045 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.0148/0.4428, allocations: 7.955 MB / 1.053 GB, free: 6.453 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches