Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007803/0.007803, allocations: 99.34 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.00209/0.00209, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001717/0.2986, allocations: 0.6751 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3004, allocations: 1.347 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.3004, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.3009, allocations: 203.5 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.301, allocations: 99.73 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.3017, allocations: 231.1 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006034/0.3024, allocations: 499.7 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.3024, allocations: 4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3026, allocations: 207.6 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.303, allocations: 203.6 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.3031, allocations: 24 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.3033, allocations: 75.94 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.3037, allocations: 263.5 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3039, allocations: 151.3 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.3045, allocations: 478.5 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3045, allocations: 0 / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3045, allocations: 0 / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3045, allocations: 4 kB / 1.224 GB, free: 9.855 MB / 0.9825 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.00105/0.3056, allocations: 0.6461 MB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3056, allocations: 12.03 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.3057, allocations: 34.75 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.3058, allocations: 32.8 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.3063, allocations: 384.3 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3064, allocations: 16.38 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.3064, allocations: 24.36 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3068, allocations: 188.6 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3068, allocations: 7.922 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3068, allocations: 4 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3068, allocations: 4 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.307, allocations: 103.9 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3075, allocations: 391.1 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.308, allocations: 319.6 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3082, allocations: 122.6 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.3082, allocations: 8 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.3086, allocations: 285.4 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3086, allocations: 4 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008544/0.3095, allocations: 0.4895 MB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.3096, allocations: 114.8 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.3101, allocations: 400.5 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.3101, allocations: 41.69 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3103, allocations: 148.8 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.3103, allocations: 51.61 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3105, allocations: 121.5 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3107, allocations: 346.8 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3108, allocations: 83.95 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.3114, allocations: 471.5 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3117, allocations: 253.5 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3117, allocations: 0 / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000527/0.3123, allocations: 325 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3123, allocations: 13.97 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3123, allocations: 4.406 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3123, allocations: 8 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3125, allocations: 31.92 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3125, allocations: 11.98 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.3133, allocations: 64.86 kB / 1.23 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3133, allocations: 16 kB / 1.23 GB, free: 3.891 MB / 0.9825 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.0002191/0.3135, allocations: 199.9 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.3136, allocations: 31.75 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.3136, allocations: 33.89 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3137, allocations: 0 / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3137, allocations: 0 / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3137, allocations: 7.984 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.314, allocations: 277.5 kB / 1.23 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.314, allocations: 7.938 kB / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.314, allocations: 3.984 kB / 1.23 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.314, allocations: 15.88 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.314, allocations: 4 kB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3141, allocations: 3.984 kB / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3141, allocations: 0 / 1.23 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.3147, allocations: 430.5 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.3148, allocations: 116.8 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3148, allocations: 8 kB / 1.231 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.3149, allocations: 4 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.315, allocations: 19.97 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.315, allocations: 12 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003259/0.3153, allocations: 287 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3153, allocations: 0 / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003792/0.3157, allocations: 83.86 kB / 1.231 GB, free: 2.281 MB / 0.9825 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.001029/0.3168, allocations: 0.999 MB / 1.232 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3172, allocations: 260.4 kB / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3172, allocations: 0 / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.3174, allocations: 143.9 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3177, allocations: 30.53 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.3216, allocations: 3.26 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.322, allocations: 0.7636 MB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.3221, allocations: 58.05 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3223, allocations: 83.34 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3223, allocations: 0 / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.3519, allocations: 7.6 MB / 1.244 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.552, allocations: 0.9375 kB / 1.244 GB, free: 5.07 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches