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 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: 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.001423/0.001422, allocations: 108 kB / 15.61 MB, free: 152 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.0018/0.0018, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.593/1.593, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.59 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.409, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002631/0.4117, allocations: 0.8641 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.4137, allocations: 1.455 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.4138, allocations: 4 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.4143, allocations: 199.4 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4145, allocations: 111.5 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4156, allocations: 345.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.4166, allocations: 0.8619 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.4169, allocations: 108.2 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.4173, allocations: 343.4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.4178, allocations: 263.3 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.4179, allocations: 44 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.4183, allocations: 115.9 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.4188, allocations: 343.3 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.4192, allocations: 274.8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.4202, allocations: 0.8925 MB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4202, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.961e-06/0.4202, allocations: 4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.4202, allocations: 0 / 1.074 GB, free: 4.223 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.001689/0.4219, allocations: 0.888 MB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.422, allocations: 16.03 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.4222, allocations: 52.38 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.423, allocations: 0.5526 MB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.423, allocations: 20.61 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4232, allocations: 36.38 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.4236, allocations: 307.4 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4236, allocations: 192 / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.4237, allocations: 3.938 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4237, allocations: 11.98 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.424, allocations: 223.8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.4259, allocations: 1.188 MB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.4266, allocations: 467.6 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.4268, allocations: 182.6 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4269, allocations: 8 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.4274, allocations: 324.4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.4274, allocations: 8 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001073/0.4285, allocations: 0.6263 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.4286, allocations: 110.8 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.4293, allocations: 0.5993 MB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/0.4294, allocations: 49.69 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.4297, allocations: 230.2 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.4298, allocations: 47.42 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.4301, allocations: 177.5 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4303, allocations: 370.7 kB / 1.081 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.4305, allocations: 127.9 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.4313, allocations: 0.7098 MB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.4317, allocations: 292.6 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4317, allocations: 4 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006409/0.4323, allocations: 432.6 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4324, allocations: 5.25 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4324, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4324, allocations: 7.938 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4326, allocations: 31.92 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4326, allocations: 4 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4339, allocations: 136.2 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4339, allocations: 12 kB / 1.082 GB, free: 11.52 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.0003523/0.4343, allocations: 257.6 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.4343, allocations: 47.7 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.4345, allocations: 55.31 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4345, allocations: 4 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4345, allocations: 4 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4345, allocations: 0 / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.435, allocations: 405.2 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.435, allocations: 4 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.435, allocations: 4 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.435, allocations: 4 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.435, allocations: 15.92 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.435, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.435, allocations: 4 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.4357, allocations: 0.5097 MB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4359, allocations: 128.6 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.4359, allocations: 11.94 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4361, allocations: 19.97 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.4362, allocations: 31.97 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4362, allocations: 12 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004886/0.4367, allocations: 431.1 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4367, allocations: 3.938 kB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004556/0.4372, allocations: 119.8 kB / 1.084 GB, free: 9.379 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.0002789/0.4375, allocations: 149.9 kB / 1.084 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006144/0.4381, allocations: 368.1 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4381, allocations: 4 kB / 1.085 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.4384, allocations: 183.9 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.4388, allocations: 39.64 kB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.4403, allocations: 0.837 MB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.4409, allocations: 0.8389 MB / 1.087 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.4412, allocations: 90.94 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4413, allocations: 39.42 kB / 1.087 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4413, allocations: 0 / 1.087 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of Templates: time 0.01472/0.456, allocations: 7.962 MB / 1.094 GB, free: 14.93 MB / 0.8575 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