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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001196/0.001196, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009083/0.009083, allocations: 172.5 kB / 16.27 MB, free: 6.652 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.301/2.301, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 16 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5686/0.569, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007302/0.5698, allocations: 423.3 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.5712, allocations: 1.331 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.5713, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.5717, allocations: 183.6 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.5718, allocations: 99.73 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.5723, allocations: 215.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.5727, allocations: 439.7 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.5728, allocations: 11.98 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.573, allocations: 187.6 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.5732, allocations: 203.6 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.5733, allocations: 8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.5735, allocations: 71.94 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.5737, allocations: 239.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.5739, allocations: 169 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.5743, allocations: 457 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5743, allocations: 3.938 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5743, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5743, allocations: 0 / 1.027 GB, free: 11.84 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.0006874/0.575, allocations: 0.5294 MB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.575, allocations: 8.031 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.5751, allocations: 34.75 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.5752, allocations: 28.66 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.5756, allocations: 392 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5756, allocations: 8.375 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.5757, allocations: 24.38 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.576, allocations: 196.6 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.576, allocations: 3.938 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.576, allocations: 3.984 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.576, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.5762, allocations: 107.9 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.5765, allocations: 387 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.5769, allocations: 319.6 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5771, allocations: 126.6 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.5771, allocations: 0 / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.5775, allocations: 289.5 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.5775, allocations: 0 / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006993/0.5782, allocations: 0.4932 MB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5782, allocations: 118.8 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.5786, allocations: 392.5 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.5787, allocations: 41.7 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5788, allocations: 156.7 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5788, allocations: 39.5 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.5789, allocations: 33.7 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.579, allocations: 346.8 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.5791, allocations: 87.89 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.5795, allocations: 463 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.5798, allocations: 249.5 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5798, allocations: 0 / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004192/0.5802, allocations: 332.8 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5802, allocations: 13.86 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5802, allocations: 7.938 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5803, allocations: 4 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5804, allocations: 27.92 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5804, allocations: 9.031 kB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.5811, allocations: 80.62 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.5812, allocations: 8 kB / 1.032 GB, free: 6.117 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.0001766/0.5813, allocations: 193.8 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.5814, allocations: 35.56 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.5814, allocations: 33.89 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.5814, allocations: 7.984 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5815, allocations: 0 / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5815, allocations: 128 / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.5817, allocations: 289.5 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5817, allocations: 3.938 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.5817, allocations: 7.938 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.5817, allocations: 0 / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5817, allocations: 8 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5818, allocations: 7.984 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5818, allocations: 4 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.5822, allocations: 434.2 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.5823, allocations: 116.7 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.5824, allocations: 4 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.5825, allocations: 3.938 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.5825, allocations: 23.97 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.5825, allocations: 16 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002761/0.5828, allocations: 287 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5828, allocations: 0 / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003282/0.5832, allocations: 79.98 kB / 1.034 GB, free: 4.492 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.0007786/0.584, allocations: 1.013 MB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.5843, allocations: 247.7 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5843, allocations: 0.8125 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.5845, allocations: 147.9 kB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.5848, allocations: 33.06 kB / 1.035 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.5879, allocations: 3.284 MB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5882, allocations: 0.7638 MB / 1.039 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.5883, allocations: 49.94 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5884, allocations: 83.39 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.5884, allocations: 0 / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6867/1.275, allocations: 7.126 MB / 1.046 GB, free: 7.734 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/1.275, allocations: 220.5 kB / 1.046 GB, free: 7.477 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/3.02, allocations: 0 / 1.046 GB, free: 7.477 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