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.004219/0.004219, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001217/0.001217, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 482.4 MB / 0.7548 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.89 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001855/0.2883, allocations: 0.6873 MB / 1.242 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2903, allocations: 1.347 MB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.2904, allocations: 4 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.291, allocations: 179.5 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2911, allocations: 107.7 kB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.2919, allocations: 230.4 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.2925, allocations: 499.7 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.2926, allocations: 19.97 kB / 1.244 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.2929, allocations: 207.6 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.2932, allocations: 207.5 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2933, allocations: 20 kB / 1.245 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2936, allocations: 87.92 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.294, allocations: 251.5 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.2942, allocations: 151.3 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.2948, allocations: 478.7 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2948, allocations: 0 / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2948, allocations: 3.938 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2948, allocations: 0 / 1.246 GB, free: 4.816 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.001189/0.296, allocations: 0.65 MB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2961, allocations: 8.031 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.2961, allocations: 38.73 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2963, allocations: 28.8 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.2968, allocations: 388.4 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2969, allocations: 8.375 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.2969, allocations: 24.36 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.2973, allocations: 188.6 kB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2973, allocations: 7.875 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2973, allocations: 4 kB / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2973, allocations: 0 / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.2975, allocations: 111.9 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.298, allocations: 387.1 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.2985, allocations: 315.6 kB / 1.248 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.2987, allocations: 122.6 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.2987, allocations: 8 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004569/0.2991, allocations: 287.4 kB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/0.2992, allocations: 7.984 kB / 1.248 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0008394/0.3, allocations: 497.3 kB / 1.249 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.3001, allocations: 114.8 kB / 1.249 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.3005, allocations: 404.4 kB / 1.249 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.3006, allocations: 41.7 kB / 1.249 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3008, allocations: 148.8 kB / 1.249 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.3008, allocations: 43.75 kB / 1.249 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.301, allocations: 121.6 kB / 1.25 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3012, allocations: 346.8 kB / 1.25 GB, free: 304 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3013, allocations: 79.95 kB / 1.25 GB, free: 224 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.3019, allocations: 466.9 kB / 1.25 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3022, allocations: 253.5 kB / 1.251 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3022, allocations: 0 / 1.251 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005184/0.3028, allocations: 337.4 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3028, allocations: 7.938 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3028, allocations: 4 kB / 1.251 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3028, allocations: 4 kB / 1.251 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.303, allocations: 39.8 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.303, allocations: 4 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.3038, allocations: 72.36 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3038, allocations: 15.98 kB / 1.251 GB, free: 14.86 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.0002104/0.304, allocations: 196 kB / 1.251 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.3041, allocations: 35.73 kB / 1.251 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.3041, allocations: 37.89 kB / 1.251 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3041, allocations: 0 / 1.251 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3042, allocations: 4 kB / 1.251 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3042, allocations: 0 / 1.251 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.3045, allocations: 285.5 kB / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3045, allocations: 0 / 1.252 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.3045, allocations: 7.938 kB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3045, allocations: 3.938 kB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3045, allocations: 16.11 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3045, allocations: 0 / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3045, allocations: 4 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.3051, allocations: 436 kB / 1.252 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.3052, allocations: 100.9 kB / 1.252 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3053, allocations: 11.98 kB / 1.252 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.3054, allocations: 0 / 1.252 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3054, allocations: 19.92 kB / 1.252 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3055, allocations: 19.98 kB / 1.252 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003241/0.3058, allocations: 287 kB / 1.253 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3058, allocations: 0 / 1.253 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003974/0.3062, allocations: 83.86 kB / 1.253 GB, free: 13.25 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.001002/0.3072, allocations: 1.013 MB / 1.254 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3077, allocations: 263.9 kB / 1.254 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3077, allocations: 0 / 1.254 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.3079, allocations: 143.9 kB / 1.254 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3082, allocations: 22.88 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.312, allocations: 3.261 MB / 1.257 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3124, allocations: 0.7597 MB / 1.258 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.3125, allocations: 49.94 kB / 1.258 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3127, allocations: 83.41 kB / 1.258 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3127, allocations: 4 kB / 1.258 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.3423, allocations: 7.627 MB / 1.266 GB, free: 48 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.318, allocations: 17.94 kB / 1.266 GB, free: 32 kB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.csv","/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