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.01077/0.01077, allocations: 101 kB / 15.73 MB, free: 6.059 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.002898/0.002898, allocations: 193.5 kB / 16.67 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 2.611/2.611, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.897/4.897, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002803, allocations: 59.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565/1.568, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002701/1.57, allocations: 0.6915 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002764/1.573, allocations: 1.349 MB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/1.573, allocations: 3.938 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006607/1.574, allocations: 179.6 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/1.574, allocations: 103.7 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/1.575, allocations: 239.2 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008841/1.576, allocations: 491.7 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/1.576, allocations: 12 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/1.576, allocations: 203.7 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/1.577, allocations: 199.6 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/1.577, allocations: 20 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/1.577, allocations: 91.88 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/1.578, allocations: 251.6 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/1.578, allocations: 151.2 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008121/1.579, allocations: 482.2 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.579, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/1.579, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.248e-06/1.579, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 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.001583/1.581, allocations: 0.6422 MB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/1.581, allocations: 8.031 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/1.581, allocations: 38.75 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/1.581, allocations: 36.78 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008385/1.582, allocations: 384.3 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/1.582, allocations: 12.38 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.582, allocations: 20.38 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/1.583, allocations: 200.7 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.583, allocations: 7.875 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.583, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.583, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/1.583, allocations: 115.9 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/1.584, allocations: 383.1 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/1.585, allocations: 319.6 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/1.585, allocations: 126.6 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.585, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/1.586, allocations: 288.1 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/1.586, allocations: 0 / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001281/1.587, allocations: 0.4895 MB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.587, allocations: 114.8 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/1.588, allocations: 396.5 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/1.588, allocations: 45.69 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/1.588, allocations: 152.8 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/1.588, allocations: 43.67 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.589, allocations: 117.6 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002172/1.589, allocations: 342.8 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/1.589, allocations: 83.95 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/1.59, allocations: 470.9 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/1.59, allocations: 253.5 kB / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.59, allocations: 4 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009464/1.591, allocations: 333.2 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/1.591, allocations: 7.938 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.591, allocations: 4 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.591, allocations: 8 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/1.592, allocations: 31.91 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.592, allocations: 8.562 kB / 1.176 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.593, allocations: 76.05 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/1.593, allocations: 8 kB / 1.176 GB, free: 9.406 MB / 0.9044 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.0003955/1.593, allocations: 195.9 kB / 1.176 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/1.593, allocations: 31.75 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/1.594, allocations: 33.89 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.594, allocations: 4 kB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.594, allocations: 0 / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.594, allocations: 7.984 kB / 1.176 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/1.594, allocations: 281.5 kB / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.594, allocations: 0 / 1.176 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/1.594, allocations: 7.984 kB / 1.176 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.594, allocations: 3.938 kB / 1.176 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/1.594, allocations: 12.12 kB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.594, allocations: 4 kB / 1.176 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.594, allocations: 3.938 kB / 1.176 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/1.595, allocations: 434.6 kB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.595, allocations: 112.8 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/1.595, allocations: 3.938 kB / 1.177 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.596, allocations: 11.98 kB / 1.177 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/1.596, allocations: 19.97 kB / 1.177 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/1.596, allocations: 8 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005118/1.596, allocations: 291 kB / 1.177 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/1.596, allocations: 4 kB / 1.177 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006986/1.597, allocations: 83.86 kB / 1.177 GB, free: 7.785 MB / 0.9044 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.001593/1.599, allocations: 1.004 MB / 1.178 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007145/1.599, allocations: 247.7 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.599, allocations: 0 / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/1.6, allocations: 151.9 kB / 1.179 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/1.6, allocations: 33.89 kB / 1.179 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/1.606, allocations: 3.268 MB / 1.182 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/1.607, allocations: 0.7636 MB / 1.183 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002548/1.607, allocations: 50.56 kB / 1.183 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/1.608, allocations: 83.41 kB / 1.183 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of SimCode: time 1.072e-06/1.608, allocations: 0 / 1.183 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09343/1.701, allocations: 7.625 MB / 1.19 GB, free: 10.54 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.77, allocations: 8.25 kB / 1.19 GB, free: 10.54 MB / 0.92 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