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.007496/0.007496, allocations: 100.8 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.001953/0.001953, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.403/2.403, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5854, allocations: 159.1 MB / 1.22 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001494/0.5869, allocations: 0.6843 MB / 1.221 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.5884, allocations: 1.349 MB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.5885, allocations: 0 / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.5889, allocations: 191.7 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.5891, allocations: 103.7 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.5896, allocations: 221.8 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005048/0.5902, allocations: 0.4917 MB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.5902, allocations: 15.97 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.5904, allocations: 199.7 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.5907, allocations: 203.6 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.5908, allocations: 24 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.591, allocations: 83.92 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.5913, allocations: 256.5 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.5915, allocations: 147.3 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.592, allocations: 474.7 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.592, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.036e-06/0.592, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.592, allocations: 3.938 kB / 1.224 GB, free: 13.77 MB / 0.9512 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.0008823/0.5929, allocations: 0.65 MB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.5929, allocations: 12.03 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.5929, allocations: 38.73 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.5931, allocations: 36.8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.5935, allocations: 384.3 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5935, allocations: 12.38 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.5936, allocations: 24.36 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.5939, allocations: 192.6 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5939, allocations: 3.938 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.5939, allocations: 0 / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.5939, allocations: 8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.5941, allocations: 107.9 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.5945, allocations: 383.1 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.5949, allocations: 319.6 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.595, allocations: 126.5 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.5951, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.5954, allocations: 299.5 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.5955, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0007344/0.5962, allocations: 0.4936 MB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.5963, allocations: 110.8 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.5967, allocations: 400.5 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.5967, allocations: 33.7 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5969, allocations: 160.8 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.5969, allocations: 39.69 kB / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.5971, allocations: 125.5 kB / 1.228 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5972, allocations: 338.8 kB / 1.229 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5973, allocations: 91.89 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.5978, allocations: 474.9 kB / 1.229 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5981, allocations: 257.5 kB / 1.229 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5981, allocations: 0 / 1.229 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004476/0.5985, allocations: 325.2 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5986, allocations: 11.94 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5986, allocations: 4 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5986, allocations: 4 kB / 1.23 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5987, allocations: 35.86 kB / 1.23 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.5987, allocations: 4 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.5994, allocations: 64.27 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.5995, allocations: 19.98 kB / 1.23 GB, free: 7.793 MB / 0.9512 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.0001784/0.5996, allocations: 191.9 kB / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.5997, allocations: 39.73 kB / 1.23 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.5997, allocations: 29.89 kB / 1.23 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.5997, allocations: 4 kB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5998, allocations: 0 / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5998, allocations: 8 kB / 1.23 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.6, allocations: 281.5 kB / 1.23 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6, allocations: 3.938 kB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.6, allocations: 7.938 kB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6, allocations: 7.938 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.6001, allocations: 7.984 kB / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6001, allocations: 0 / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6001, allocations: 0 / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.6006, allocations: 435 kB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.6007, allocations: 112.8 kB / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.6007, allocations: 8.031 kB / 1.231 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.6008, allocations: 7.984 kB / 1.231 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.6009, allocations: 19.92 kB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6009, allocations: 11.98 kB / 1.231 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002812/0.6012, allocations: 287 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6012, allocations: 4 kB / 1.231 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003171/0.6015, allocations: 83.86 kB / 1.231 GB, free: 6.18 MB / 0.9512 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.0008459/0.6023, allocations: 1.004 MB / 1.232 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.6027, allocations: 255.7 kB / 1.233 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6027, allocations: 0 / 1.233 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.6029, allocations: 147.9 kB / 1.233 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6032, allocations: 25.47 kB / 1.233 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.6064, allocations: 3.256 MB / 1.236 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6068, allocations: 0.7674 MB / 1.237 GB, free: 496 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.6069, allocations: 50.19 kB / 1.237 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.607, allocations: 79.41 kB / 1.237 GB, free: 364 kB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.607, allocations: 0 / 1.237 GB, free: 364 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.712/5.319, allocations: 7.609 MB / 1.244 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.09/26.4, allocations: 3.938 kB / 1.244 GB, free: 8.965 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 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.mat","/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