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.001152/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001319/0.001319, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 73.59 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4324, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00285/0.4353, allocations: 0.9084 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.4379, allocations: 1.459 MB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.4381, allocations: 7.938 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.4387, allocations: 183.6 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.439, allocations: 107.7 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.4402, allocations: 322.5 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.4412, allocations: 0.7681 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.4415, allocations: 104.2 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.4421, allocations: 303.3 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.4427, allocations: 247.3 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.4429, allocations: 16 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.4433, allocations: 87.94 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.4438, allocations: 299.3 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.4442, allocations: 258.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4454, allocations: 0.869 MB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.4454, allocations: 7.984 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4454, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.4454, allocations: 0 / 1.073 GB, free: 4.992 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.002201/0.4476, allocations: 0.8802 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/0.4477, allocations: 8.031 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.448, allocations: 52.38 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.4488, allocations: 0.5487 MB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.4489, allocations: 24.61 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.449, allocations: 36.38 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.4495, allocations: 306.2 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4496, allocations: 192 / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.4496, allocations: 15.88 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4496, allocations: 4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.45, allocations: 215.9 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.4523, allocations: 1.187 MB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.453, allocations: 471.7 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.4533, allocations: 178.6 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4533, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.4538, allocations: 339.8 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/0.4538, allocations: 0 / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.00115/0.455, allocations: 0.6264 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.4551, allocations: 122.8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.4559, allocations: 0.5955 MB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.456, allocations: 41.7 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.4563, allocations: 234.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.4563, allocations: 47.41 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.4566, allocations: 185.6 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4568, allocations: 362.7 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.457, allocations: 127.9 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.4579, allocations: 0.7137 MB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.4584, allocations: 300.6 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4584, allocations: 0 / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006953/0.4591, allocations: 424.8 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4591, allocations: 9.719 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4591, allocations: 0 / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4592, allocations: 11.94 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4593, allocations: 31.92 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.4594, allocations: 15.92 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4607, allocations: 127.7 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.4607, allocations: 16 kB / 1.081 GB, free: 12.3 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.0003446/0.4611, allocations: 257.6 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.4612, allocations: 39.53 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.4613, allocations: 55.31 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4613, allocations: 4 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4613, allocations: 0 / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4613, allocations: 7.984 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.4618, allocations: 401.2 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4618, allocations: 0 / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.4618, allocations: 11.92 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4618, allocations: 0 / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4618, allocations: 11.94 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4618, allocations: 4.25 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4619, allocations: 8 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.4626, allocations: 0.5136 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.4627, allocations: 124.7 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.4628, allocations: 7.922 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4629, allocations: 19.98 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.463, allocations: 31.97 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.4631, allocations: 15.98 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005116/0.4636, allocations: 431.1 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4636, allocations: 0 / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004914/0.4641, allocations: 111.8 kB / 1.083 GB, free: 10.17 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.0002782/0.4644, allocations: 157.4 kB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.465, allocations: 347.6 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.465, allocations: 0 / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.4652, allocations: 191.8 kB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4656, allocations: 40.95 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4671, allocations: 0.9154 MB / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.4676, allocations: 0.836 MB / 1.086 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.4679, allocations: 93.19 kB / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.468, allocations: 39.42 kB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.468, allocations: 0 / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.01419/0.4822, allocations: 7.67 MB / 1.093 GB, free: 15.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