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.001203/0.001203, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001422/0.001422, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.906/2.906, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004868, allocations: 9.859 kB / 0.9022 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4025, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001217/0.4038, allocations: 0.5404 MB / 1.059 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.406, allocations: 1.432 MB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.4062, allocations: 4 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.4067, allocations: 183.6 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.4068, allocations: 107.7 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.4078, allocations: 318.8 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.4086, allocations: 0.6512 MB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.4088, allocations: 84.42 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.4091, allocations: 307.4 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.4094, allocations: 219.4 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.4095, allocations: 16 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.4097, allocations: 75.94 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.4101, allocations: 303.3 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.4102, allocations: 85.52 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.4109, allocations: 0.7018 MB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4109, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4109, allocations: 4 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.4109, allocations: 0 / 1.063 GB, free: 324 kB / 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.001279/0.4122, allocations: 0.7047 MB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4122, allocations: 8.031 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.4124, allocations: 47.53 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.4132, allocations: 0.5322 MB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.4132, allocations: 24.19 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.4133, allocations: 39.98 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.4138, allocations: 314.3 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4138, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.4138, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.4138, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4141, allocations: 219.8 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.4159, allocations: 1.187 MB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.4165, allocations: 463.9 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.4168, allocations: 182.5 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4168, allocations: 11.88 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.4173, allocations: 325.6 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.4173, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001002/0.4183, allocations: 0.6218 MB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.4184, allocations: 118.8 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.4191, allocations: 0.5916 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.4192, allocations: 49.7 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.4194, allocations: 218.9 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.4195, allocations: 51.34 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.4195, allocations: 8 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4197, allocations: 358.8 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4198, allocations: 127.8 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.4206, allocations: 0.7137 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.4209, allocations: 179.8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4209, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005792/0.4215, allocations: 413 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4215, allocations: 11.95 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4215, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4215, allocations: 8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4217, allocations: 32.16 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4217, allocations: 8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.4228, allocations: 151.2 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4228, allocations: 12 kB / 1.07 GB, free: 8.188 MB / 0.8262 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003444/0.4232, allocations: 261.6 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.4232, allocations: 48.28 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/0.4233, allocations: 51.31 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4233, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4234, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4234, allocations: 4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.4238, allocations: 405.2 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4238, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.4238, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4238, allocations: 7.938 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.4239, allocations: 11.98 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.4239, allocations: 7.953 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4239, allocations: 3.938 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.4245, allocations: 0.5034 MB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.4247, allocations: 140.5 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.4247, allocations: 11.98 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4249, allocations: 15.97 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.425, allocations: 43.86 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.425, allocations: 11.98 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005042/0.4255, allocations: 435 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4255, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004664/0.426, allocations: 108 kB / 1.072 GB, free: 6.043 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000381/0.4264, allocations: 151.3 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.427, allocations: 362.3 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.427, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.4272, allocations: 183.9 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4275, allocations: 39.08 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4288, allocations: 0.8868 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.4292, allocations: 0.8392 MB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.4294, allocations: 94.92 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.4295, allocations: 35.44 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of SimCode: time 7.52e-07/0.4296, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.01316/0.4427, allocations: 7.368 MB / 1.082 GB, free: 12.14 MB / 0.8419 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 -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/jenkins/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