Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005109/0.005109, allocations: 100.2 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.001426/0.001426, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.516/2.516, allocations: 482.6 MB / 0.755 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 64.31 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.303, allocations: 162.3 MB / 1.242 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001597/0.3047, allocations: 0.6839 MB / 1.243 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3063, allocations: 1.339 MB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3064, allocations: 0 / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.3068, allocations: 187.5 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3069, allocations: 107.7 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.3075, allocations: 232.4 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3081, allocations: 499.6 kB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.3081, allocations: 11.98 kB / 1.245 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3083, allocations: 207.6 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3086, allocations: 207.6 kB / 1.245 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.3087, allocations: 24 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3089, allocations: 83.94 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.3093, allocations: 247.5 kB / 1.246 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3095, allocations: 155.3 kB / 1.246 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.31, allocations: 478.7 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.31, allocations: 0 / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.51e-07/0.31, allocations: 3.938 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.31, allocations: 0 / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008594/0.3109, allocations: 0.6423 MB / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.3109, allocations: 12.03 kB / 1.247 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.3109, allocations: 34.73 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.311, allocations: 36.75 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.3115, allocations: 384.3 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3115, allocations: 16.36 kB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.3116, allocations: 20.38 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3119, allocations: 192.6 kB / 1.247 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3119, allocations: 3.938 kB / 1.247 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3119, allocations: 3.984 kB / 1.247 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3119, allocations: 4 kB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.3121, allocations: 107.9 kB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3125, allocations: 387.1 kB / 1.248 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.3129, allocations: 319.6 kB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3131, allocations: 122.6 kB / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.3131, allocations: 0 / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.3135, allocations: 287.2 kB / 1.249 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.3135, allocations: 3.938 kB / 1.249 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0007472/0.3143, allocations: 0.5017 MB / 1.249 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3144, allocations: 110.8 kB / 1.249 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.3148, allocations: 408.4 kB / 1.25 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.3148, allocations: 37.7 kB / 1.25 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.315, allocations: 152.8 kB / 1.25 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.315, allocations: 43.73 kB / 1.25 GB, free: 492 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3152, allocations: 117.6 kB / 1.25 GB, free: 368 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3153, allocations: 346.8 kB / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3155, allocations: 83.95 kB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.316, allocations: 466.9 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.3163, allocations: 249.5 kB / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3163, allocations: 0 / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004959/0.3168, allocations: 329.1 kB / 1.251 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3169, allocations: 11.94 kB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3169, allocations: 4 kB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3169, allocations: 4 kB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.317, allocations: 32.27 kB / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.317, allocations: 8 kB / 1.251 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.3177, allocations: 85.44 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3178, allocations: 8 kB / 1.252 GB, free: 14.58 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001868/0.3179, allocations: 196.5 kB / 1.252 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.318, allocations: 39.75 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.3181, allocations: 33.89 kB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3181, allocations: 4.234 kB / 1.252 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3181, allocations: 0 / 1.252 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3181, allocations: 4 kB / 1.252 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.3184, allocations: 281.5 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3184, allocations: 0 / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.3184, allocations: 7.938 kB / 1.252 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3184, allocations: 7.938 kB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3184, allocations: 11.98 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3184, allocations: 4 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3184, allocations: 0 / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.319, allocations: 434.5 kB / 1.253 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.3191, allocations: 104.9 kB / 1.253 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3192, allocations: 8 kB / 1.253 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.3193, allocations: 0 / 1.253 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3193, allocations: 23.92 kB / 1.253 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.3193, allocations: 15.98 kB / 1.253 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000309/0.3197, allocations: 291 kB / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3197, allocations: 0 / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003453/0.32, allocations: 79.88 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009532/0.321, allocations: 1.01 MB / 1.254 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3214, allocations: 255.6 kB / 1.254 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3214, allocations: 0.8125 kB / 1.254 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3216, allocations: 147.9 kB / 1.254 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3218, allocations: 32.64 kB / 1.254 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.3253, allocations: 3.256 MB / 1.258 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3257, allocations: 0.7639 MB / 1.258 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.3258, allocations: 45.94 kB / 1.258 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3259, allocations: 87.39 kB / 1.258 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.326, allocations: 0 / 1.258 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07257/0.3985, allocations: 7.637 MB / 1.266 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.831/10.23, allocations: 4.5 kB / 1.266 GB, free: 15.75 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches