Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.001822/0.001822, 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.001852/0.001852, allocations: 194.8 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.405/2.405, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 67.89 kB / 0.8694 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4938, allocations: 151.6 MB / 1.017 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00168/0.4955, allocations: 0.682 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.497, allocations: 1.35 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.4971, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.4975, allocations: 195.5 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4976, allocations: 95.72 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.4983, allocations: 227.2 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.4987, allocations: 483.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.4988, allocations: 7.984 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.499, allocations: 203.6 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.4993, allocations: 203.6 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.4994, allocations: 28 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.4996, allocations: 79.94 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.4999, allocations: 255.5 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.5001, allocations: 147.3 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.5006, allocations: 480.9 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5006, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5006, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5006, allocations: 0 / 1.022 GB, free: 14.16 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.0009043/0.5015, allocations: 0.6307 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5016, allocations: 8.031 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.5016, allocations: 42.73 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.5017, allocations: 36.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.5022, allocations: 376.1 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5022, allocations: 12.38 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.5023, allocations: 24.36 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.5026, allocations: 192.6 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.5026, allocations: 11.94 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5026, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.5026, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.5028, allocations: 111.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.5032, allocations: 387 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.5036, allocations: 319.6 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.5037, allocations: 126.6 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.5037, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.5041, allocations: 289.5 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.5041, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007293/0.5049, allocations: 0.4899 MB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.5049, allocations: 110.8 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.5053, allocations: 404.4 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.5054, allocations: 41.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.5055, allocations: 160.6 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.5056, allocations: 31.61 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.5057, allocations: 117.6 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5058, allocations: 346.8 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.5059, allocations: 79.95 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.5064, allocations: 468 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5066, allocations: 257.5 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5067, allocations: 4 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004536/0.5071, allocations: 332.8 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5071, allocations: 4 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5071, allocations: 4.078 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5072, allocations: 8 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.5073, allocations: 31.92 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.5073, allocations: 11.92 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.5081, allocations: 68.31 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.5081, allocations: 15.98 kB / 1.027 GB, free: 8.227 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.0001763/0.5083, allocations: 188 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.5083, allocations: 35.55 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.5084, allocations: 37.89 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5084, allocations: 4 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5084, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5084, allocations: 240 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.5086, allocations: 285.5 kB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5086, allocations: 3.938 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.5087, allocations: 7.938 kB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5087, allocations: 3.984 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5087, allocations: 11.98 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5087, allocations: 4 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5087, allocations: 0 / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.5092, allocations: 448.3 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.5093, allocations: 108.7 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.5093, allocations: 3.984 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.5094, allocations: 4 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.5095, allocations: 15.98 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.5095, allocations: 19.98 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002659/0.5098, allocations: 287 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5098, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003496/0.5101, allocations: 75.98 kB / 1.029 GB, free: 6.613 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.0008026/0.5109, allocations: 1.004 MB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.5113, allocations: 259.7 kB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5113, allocations: 0 / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.5115, allocations: 148.7 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.5118, allocations: 33.89 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.5151, allocations: 3.249 MB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.5154, allocations: 0.7751 MB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.5155, allocations: 45.95 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5156, allocations: 83.39 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5156, allocations: 0 / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.5394, allocations: 7.524 MB / 1.041 GB, free: 9.457 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.47, allocations: 12.5 kB / 1.041 GB, free: 9.445 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches