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.001455/0.001455, 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.001768/0.001768, allocations: 194.3 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.276/1.276, 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.387/2.387, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.485, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001466/0.4865, allocations: 0.6874 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.4879, allocations: 1.342 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.4879, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.4883, allocations: 195.5 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.4884, allocations: 99.72 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.489, allocations: 225 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.4894, allocations: 475.8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.4894, allocations: 11.97 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.4896, allocations: 207.6 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.4899, allocations: 199.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.4899, allocations: 20 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.4901, allocations: 87.94 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.4904, allocations: 259.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.4906, allocations: 159.2 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.491, allocations: 465 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.491, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.675e-06/0.491, allocations: 3.984 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.491, allocations: 0 / 1.022 GB, free: 14.12 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.0007631/0.4918, allocations: 0.6346 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.4918, allocations: 16.03 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.4919, allocations: 30.75 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.492, allocations: 36.56 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.4924, allocations: 380.1 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4924, allocations: 12.36 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.4925, allocations: 20.38 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.4927, allocations: 188.6 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.4928, allocations: 7.938 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4928, allocations: 3.984 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4928, allocations: 7.984 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.4929, allocations: 107.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.4933, allocations: 387 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.4936, allocations: 315.6 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.4938, allocations: 130.6 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.4938, allocations: 3.984 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.4941, allocations: 281.5 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.4942, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006618/0.4948, allocations: 0.4933 MB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4949, allocations: 106.8 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.4952, allocations: 412.3 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.4953, allocations: 37.7 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4954, allocations: 156.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.4954, allocations: 39.59 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4956, allocations: 113.5 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.4957, allocations: 350.8 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4958, allocations: 83.95 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.4962, allocations: 463.9 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4965, allocations: 257.5 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4965, allocations: 0 / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004241/0.4969, allocations: 336.8 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4969, allocations: 8 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.497, allocations: 4 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.497, allocations: 4 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4971, allocations: 27.92 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4971, allocations: 4 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.4978, allocations: 85.12 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.4978, allocations: 8 kB / 1.027 GB, free: 8.184 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.0001564/0.4979, allocations: 192 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.498, allocations: 35.56 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.498, allocations: 33.89 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.498, allocations: 8 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4981, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4981, allocations: 4 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.4983, allocations: 281.4 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4983, allocations: 3.938 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.4983, allocations: 12 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4983, allocations: 4 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4983, allocations: 7.984 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4983, allocations: 0 / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4983, allocations: 0 / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.4988, allocations: 443 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.4989, allocations: 108.7 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4989, allocations: 4 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.499, allocations: 4 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.499, allocations: 15.98 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.499, allocations: 15.98 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002479/0.4993, allocations: 295 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4993, allocations: 0 / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000316/0.4996, allocations: 76 kB / 1.029 GB, free: 6.57 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.0007198/0.5004, allocations: 1.002 MB / 1.03 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.5007, allocations: 263.7 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5007, allocations: 0 / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5009, allocations: 143.9 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.5011, allocations: 33.39 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.504, allocations: 3.258 MB / 1.033 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5042, allocations: 0.7694 MB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.5044, allocations: 54.11 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5045, allocations: 83.41 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of SimCode: time 1.413e-06/0.5045, allocations: 0 / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.809/5.314, allocations: 7.522 MB / 1.041 GB, free: 9.41 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/13.77, allocations: 11.58 kB / 1.041 GB, free: 9.402 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.mat","/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