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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.001117/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.05 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3019, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001983/0.3039, allocations: 0.8582 MB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3057, allocations: 1.46 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.3058, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.3062, allocations: 199.4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3064, allocations: 107.6 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.3073, allocations: 352.3 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.3082, allocations: 0.8543 MB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3084, allocations: 100.2 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.3088, allocations: 343.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.3092, allocations: 267.3 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.3094, allocations: 44 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.3097, allocations: 111.9 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.3101, allocations: 347.3 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.3104, allocations: 270.8 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.3112, allocations: 0.9002 MB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3112, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3113, allocations: 7.938 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.3113, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 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.001465/0.3127, allocations: 0.8879 MB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3128, allocations: 12.03 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.3129, allocations: 46.73 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.3131, allocations: 56.38 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.3138, allocations: 0.537 MB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3138, allocations: 28.59 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3139, allocations: 36.38 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.3143, allocations: 306.2 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3143, allocations: 3.938 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3144, allocations: 8 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3144, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.3147, allocations: 227.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.3164, allocations: 1.187 MB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.317, allocations: 467.8 kB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3172, allocations: 174.5 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3172, allocations: 4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.3176, allocations: 341.4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.3176, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.0009176/0.3186, allocations: 0.6258 MB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.3186, allocations: 119.5 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.3193, allocations: 0.5954 MB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.3194, allocations: 41.7 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3196, allocations: 226.6 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.3196, allocations: 47.41 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3199, allocations: 185.5 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.32, allocations: 362.8 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3202, allocations: 131.7 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.3209, allocations: 0.7148 MB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.3213, allocations: 304.6 kB / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3213, allocations: 0 / 1.077 GB, free: 192 kB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006335/0.3219, allocations: 420.7 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.322, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.322, allocations: 11.92 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.322, allocations: 8 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3222, allocations: 35.86 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3222, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3234, allocations: 132.1 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3235, allocations: 16 kB / 1.078 GB, free: 15.56 MB / 0.8419 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.0002737/0.3237, allocations: 262.2 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.3238, allocations: 35.53 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.3239, allocations: 55.3 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3239, allocations: 4 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3239, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3239, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.3243, allocations: 413.2 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3243, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.3243, allocations: 7.938 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3243, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3243, allocations: 15.92 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3244, allocations: 8 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3244, allocations: 0 / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.325, allocations: 0.5124 MB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.3251, allocations: 136.5 kB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.3251, allocations: 7.938 kB / 1.079 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3253, allocations: 15.98 kB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.3254, allocations: 35.97 kB / 1.079 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3254, allocations: 15.98 kB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004562/0.3259, allocations: 431.1 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3259, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004585/0.3264, allocations: 115.8 kB / 1.08 GB, free: 13.42 MB / 0.8419 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.0009599/0.3273, allocations: 1.1 MB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.3279, allocations: 364.9 kB / 1.081 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3279, allocations: 0 / 1.081 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3281, allocations: 191.9 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3284, allocations: 37.95 kB / 1.081 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.3332, allocations: 4.443 MB / 1.086 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3336, allocations: 0.835 MB / 1.087 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.3338, allocations: 96.47 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.334, allocations: 131.4 kB / 1.087 GB, free: 6 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.334, allocations: 0 / 1.087 GB, free: 6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3637, allocations: 11.51 MB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.789, allocations: 8.875 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > 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.csv","/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