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 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.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.001253/0.001256, 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.001161/0.001161, allocations: 192 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 59.59 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2391, allocations: 159.1 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001803/0.2409, allocations: 0.6858 MB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2426, allocations: 1.339 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.2426, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.2431, allocations: 191.6 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2432, allocations: 103.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.2439, allocations: 236.1 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.2444, allocations: 475.7 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.2444, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.2447, allocations: 203.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.245, allocations: 211.6 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.2451, allocations: 20 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2453, allocations: 87.81 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.2456, allocations: 255.5 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.2458, allocations: 151.3 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.2463, allocations: 471 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2463, allocations: 3.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.21e-07/0.2463, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2463, allocations: 4 kB / 1.068 GB, free: 10.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009104/0.2472, allocations: 0.6346 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2473, allocations: 12.03 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.2473, allocations: 30.75 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2475, allocations: 28.66 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.2479, allocations: 392 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.248, allocations: 16.38 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.248, allocations: 24.38 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2483, allocations: 188.6 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2483, allocations: 3.938 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2483, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2484, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2485, allocations: 111.9 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2489, allocations: 383.2 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.2493, allocations: 315.6 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2495, allocations: 126.6 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.2495, allocations: 4 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.2499, allocations: 281.5 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2499, allocations: 4 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007502/0.2506, allocations: 0.4932 MB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2507, allocations: 118.7 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.2511, allocations: 392.5 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.2511, allocations: 41.69 kB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2513, allocations: 156.7 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.2513, allocations: 43.44 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.2515, allocations: 117.6 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2516, allocations: 346.8 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.2517, allocations: 83.95 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.2522, allocations: 460.7 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.2524, allocations: 257.5 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2525, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004735/0.2529, allocations: 341 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.253, allocations: 9.719 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.253, allocations: 4.406 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.253, allocations: 8 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2531, allocations: 35.91 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2531, allocations: 4 kB / 1.073 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.2539, allocations: 60.45 kB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2539, allocations: 12 kB / 1.073 GB, free: 4.102 MB / 0.8262 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.0001803/0.2541, allocations: 206.1 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.2542, allocations: 27.66 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.2542, allocations: 33.89 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2542, allocations: 7.938 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2542, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2542, allocations: 3.984 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2545, allocations: 289.3 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2545, allocations: 3.938 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.2545, allocations: 7.984 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2545, allocations: 4 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2545, allocations: 4 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2545, allocations: 4 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2546, allocations: 4.062 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.2551, allocations: 442.3 kB / 1.074 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.2551, allocations: 104.8 kB / 1.074 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2552, allocations: 4 kB / 1.074 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.2553, allocations: 7.984 kB / 1.074 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.2553, allocations: 19.98 kB / 1.074 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2553, allocations: 8 kB / 1.074 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002678/0.2556, allocations: 291 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2556, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003679/0.256, allocations: 79.92 kB / 1.075 GB, free: 2.484 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: 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.0008054/0.2568, allocations: 0.9995 MB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2572, allocations: 268.4 kB / 1.076 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2572, allocations: 0 / 1.076 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2574, allocations: 147.9 kB / 1.076 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2576, allocations: 20.64 kB / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.2609, allocations: 3.273 MB / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2612, allocations: 0.7597 MB / 1.08 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.2613, allocations: 54.16 kB / 1.08 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2614, allocations: 87.41 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.2614, allocations: 0 / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.285, allocations: 7.553 MB / 1.088 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.394, allocations: 6.062 kB / 1.088 GB, free: 5.336 MB / 0.8419 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 50 --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