Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007022/0.007022, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001085/0.001085, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001763/0.2546, allocations: 0.676 MB / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2563, allocations: 1.343 MB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.2564, allocations: 3.938 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.2569, allocations: 199.5 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.257, allocations: 99.72 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.2577, allocations: 231 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.2583, allocations: 499.7 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.2583, allocations: 8 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.2586, allocations: 207.7 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.2589, allocations: 211.5 kB / 1.17 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.259, allocations: 20 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2592, allocations: 79.94 kB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.2596, allocations: 259.5 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2598, allocations: 147.3 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.2603, allocations: 482.7 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2603, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2603, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.2603, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 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.001002/0.2613, allocations: 0.6538 MB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2614, allocations: 8.031 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.2614, allocations: 38.75 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2615, allocations: 32.78 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.2621, allocations: 380.3 kB / 1.172 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2622, allocations: 12.38 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.2622, allocations: 20.38 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.2625, allocations: 188.7 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2625, allocations: 7.875 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2626, allocations: 8 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2626, allocations: 0 / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2627, allocations: 99.94 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.2631, allocations: 387.1 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.2636, allocations: 319.6 kB / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2637, allocations: 126.5 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.2638, allocations: 4 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.2642, allocations: 289.5 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.2642, allocations: 0 / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.0007597/0.2649, allocations: 0.4895 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.265, allocations: 118.8 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.2654, allocations: 396.5 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2655, allocations: 41.69 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2656, allocations: 152.7 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.2657, allocations: 43.73 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.2659, allocations: 117.6 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.266, allocations: 342.8 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2661, allocations: 83.95 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.2666, allocations: 472.2 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.2669, allocations: 257.4 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2669, allocations: 4 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004653/0.2674, allocations: 325 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2674, allocations: 13.66 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.2674, allocations: 4.406 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2674, allocations: 8 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2676, allocations: 35.91 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2676, allocations: 11.94 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.2683, allocations: 56.5 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2683, allocations: 16 kB / 1.176 GB, free: 13.01 MB / 0.9356 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.0001829/0.2685, allocations: 199.9 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2686, allocations: 31.75 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.2686, allocations: 33.89 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2686, allocations: 3.938 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2687, allocations: 4 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2687, allocations: 3.984 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2689, allocations: 281.5 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2689, allocations: 128 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.2689, allocations: 15.92 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.269, allocations: 7.938 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.269, allocations: 4 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.269, allocations: 0 / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.269, allocations: 4 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.2695, allocations: 430.5 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.2696, allocations: 104.9 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2697, allocations: 7.938 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.2698, allocations: 11.98 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.2698, allocations: 19.92 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2698, allocations: 12 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002869/0.2701, allocations: 287 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2701, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000368/0.2705, allocations: 83.86 kB / 1.177 GB, free: 11.4 MB / 0.9356 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.0008695/0.2714, allocations: 1.014 MB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.2718, allocations: 260.5 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2718, allocations: 4.25 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.272, allocations: 144 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.2723, allocations: 28.72 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.2757, allocations: 3.265 MB / 1.182 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.276, allocations: 0.7675 MB / 1.183 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.2761, allocations: 49.94 kB / 1.183 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2763, allocations: 84.41 kB / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2763, allocations: 0 / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.3001, allocations: 7.622 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.062, allocations: 16.75 kB / 1.19 GB, free: 14.15 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches