Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007657/0.007657, allocations: 102 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.001977/0.001977, allocations: 192 kB / 16.67 MB, free: 5.984 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.418/1.418, 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 9.1.3-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 68.05 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002237/0.2859, allocations: 0.6688 MB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2881, allocations: 1.352 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.2882, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.2887, allocations: 195.5 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2889, allocations: 99.73 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2897, allocations: 228.3 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.2903, allocations: 499.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.2904, allocations: 11.98 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.2907, allocations: 207.6 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.2911, allocations: 203.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2912, allocations: 20 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.2914, allocations: 83.94 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.2918, allocations: 255.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.292, allocations: 151.3 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.2926, allocations: 486.1 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2926, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2926, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.2927, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 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.001203/0.2939, allocations: 0.6348 MB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2939, allocations: 8.031 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.294, allocations: 42.75 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2942, allocations: 28.66 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.2948, allocations: 384 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2949, allocations: 12.38 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.2949, allocations: 24.12 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.2953, allocations: 192.1 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2953, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2953, allocations: 7.984 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2953, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.2955, allocations: 107.9 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.296, allocations: 383.2 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.2965, allocations: 319.6 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.2967, allocations: 130.5 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2967, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.2973, allocations: 287.1 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2973, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008383/0.2981, allocations: 0.4934 MB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.2982, allocations: 114.8 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.2986, allocations: 396.5 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.2987, allocations: 45.64 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2989, allocations: 156.7 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.2989, allocations: 43.44 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2991, allocations: 113.6 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2992, allocations: 346.8 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2994, allocations: 79.95 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.2999, allocations: 472 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.3002, allocations: 253.5 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3002, allocations: 0 / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005454/0.3007, allocations: 332.8 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3008, allocations: 8 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3008, allocations: 240 / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3008, allocations: 8.125 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.301, allocations: 35.92 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.301, allocations: 8.391 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.3018, allocations: 71.77 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3019, allocations: 12 kB / 1.097 GB, free: 7.688 MB / 0.8575 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.0002157/0.3021, allocations: 199.9 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.3021, allocations: 23.72 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.3022, allocations: 37.89 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3022, allocations: 4 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3022, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3022, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.3025, allocations: 293.4 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3025, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.3025, allocations: 11.92 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3025, allocations: 0 / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3026, allocations: 4 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3026, allocations: 4 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3026, allocations: 3.938 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.3031, allocations: 444.2 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.3032, allocations: 108.8 kB / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3033, allocations: 0 / 1.098 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3034, allocations: 8 kB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.3034, allocations: 19.97 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3035, allocations: 12 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002988/0.3038, allocations: 287 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3038, allocations: 4 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004025/0.3042, allocations: 75.94 kB / 1.099 GB, free: 6.078 MB / 0.8575 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.0009819/0.3052, allocations: 1 MB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.3056, allocations: 255.7 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3056, allocations: 0 / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3058, allocations: 148.7 kB / 1.1 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3061, allocations: 36.41 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.3099, allocations: 3.268 MB / 1.103 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3103, allocations: 0.7675 MB / 1.104 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.3104, allocations: 45.89 kB / 1.104 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3105, allocations: 83.39 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3105, allocations: 0 / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.3363, allocations: 7.593 MB / 1.111 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.615, allocations: 16.61 kB / 1.111 GB, free: 8.828 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches