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.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 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.001118/0.001118, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.418/2.418, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5434, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001741/0.5452, allocations: 0.6817 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.5466, allocations: 1.342 MB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.5467, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.5471, allocations: 195.5 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.5472, allocations: 99.72 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.5478, allocations: 227.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.5482, allocations: 475.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.5483, allocations: 7.984 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.5485, allocations: 211.6 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.5487, allocations: 207.6 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.979e-05/0.5488, allocations: 20 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.549, allocations: 91.92 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.5493, allocations: 255.4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.5495, allocations: 147.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.5499, allocations: 473 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5499, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5499, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5499, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 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.0008293/0.5508, allocations: 0.6357 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5508, allocations: 12.03 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.5509, allocations: 34.73 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.551, allocations: 36.56 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.5514, allocations: 380.1 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5514, allocations: 12.38 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.5515, allocations: 24.36 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5518, allocations: 192.6 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5518, allocations: 7.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5518, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5518, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.552, allocations: 111.9 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.5523, allocations: 387 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.5527, allocations: 315.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.5529, allocations: 126.5 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.5529, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.5532, allocations: 291.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.5533, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006994/0.554, allocations: 0.4894 MB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.554, allocations: 114.8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.5544, allocations: 408.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.5545, allocations: 37.7 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5546, allocations: 160.6 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.5546, allocations: 35.61 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5548, allocations: 121.5 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.5549, allocations: 338.8 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.555, allocations: 91.95 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.5554, allocations: 463.5 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5557, allocations: 249.5 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5557, allocations: 0 / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004472/0.5561, allocations: 336.8 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5562, allocations: 8 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5562, allocations: 4 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5562, allocations: 4 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.5563, allocations: 28.33 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5563, allocations: 8 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.557, allocations: 76.45 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.5571, allocations: 15.98 kB / 1.027 GB, free: 8.109 MB / 0.7794 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.0001666/0.5572, allocations: 184 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.5573, allocations: 43.55 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.5573, allocations: 29.89 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5574, allocations: 4.234 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5574, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5574, allocations: 4 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.5576, allocations: 289.4 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5576, allocations: 3.938 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.5576, allocations: 4 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5576, allocations: 4 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5577, allocations: 11.98 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5577, allocations: 4 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5577, allocations: 0 / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.5581, allocations: 439.4 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.5582, allocations: 104.7 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.5583, allocations: 11.98 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.5584, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.5584, allocations: 19.98 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.5584, allocations: 15.98 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002581/0.5587, allocations: 287 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5587, allocations: 0 / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003359/0.559, allocations: 79.98 kB / 1.029 GB, free: 6.5 MB / 0.7794 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.0007773/0.5598, allocations: 1.009 MB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.5602, allocations: 263.8 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5602, allocations: 0.8125 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.5604, allocations: 147.9 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5607, allocations: 28.64 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.5637, allocations: 3.251 MB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5639, allocations: 0.7712 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.5641, allocations: 47.58 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5642, allocations: 91.33 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of SimCode: time 1.363e-06/0.5642, allocations: 0 / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.5883, allocations: 7.555 MB / 1.041 GB, free: 9.328 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.546, allocations: 8.453 kB / 1.041 GB, free: 9.32 MB / 0.795 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