Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_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.01001/0.01001, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001865/0.001865, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.611/2.611, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 67.03 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2692, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002104/0.2714, allocations: 0.8644 MB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2734, allocations: 1.453 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.2735, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.2741, allocations: 199.5 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.2742, allocations: 115.6 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2754, allocations: 359.6 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009358/0.2763, allocations: 0.8816 MB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2765, allocations: 92.25 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.277, allocations: 351.4 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.2774, allocations: 267.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.2776, allocations: 48 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.2779, allocations: 103.9 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.2784, allocations: 347.3 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.2788, allocations: 262.9 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.2797, allocations: 0.9229 MB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2797, allocations: 4 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2797, allocations: 0 / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.2797, allocations: 0 / 1.094 GB, free: 11.76 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00172/0.2814, allocations: 0.8802 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2815, allocations: 12.03 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/0.2816, allocations: 46.73 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.2818, allocations: 52.38 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.2827, allocations: 0.5487 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.2827, allocations: 24.61 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2829, allocations: 32.38 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.2833, allocations: 317.6 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2833, allocations: 0 / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.2834, allocations: 8 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2834, allocations: 4 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2837, allocations: 223.7 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.2857, allocations: 1.18 MB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.2864, allocations: 467.7 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.2866, allocations: 178.6 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2866, allocations: 4 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.2871, allocations: 335 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.2871, allocations: 0 / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001023/0.2881, allocations: 0.6296 MB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.2882, allocations: 114.8 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.2889, allocations: 0.5955 MB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.289, allocations: 45.7 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.2893, allocations: 217.4 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.2893, allocations: 55.34 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.2896, allocations: 185.5 kB / 1.1 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2898, allocations: 354.8 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.29, allocations: 127.9 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008298/0.2908, allocations: 0.7137 MB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.2912, allocations: 300.6 kB / 1.101 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2912, allocations: 0 / 1.101 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006561/0.2918, allocations: 420.8 kB / 1.101 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2919, allocations: 11.94 kB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2919, allocations: 4 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2919, allocations: 4.25 kB / 1.101 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2921, allocations: 31.92 kB / 1.101 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2921, allocations: 16.67 kB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.2935, allocations: 136.1 kB / 1.102 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2935, allocations: 8 kB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003104/0.2938, allocations: 261.6 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.2939, allocations: 51.47 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.294, allocations: 47.38 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.294, allocations: 3.938 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.294, allocations: 4 kB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.294, allocations: 3.984 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.2944, allocations: 401.3 kB / 1.102 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2944, allocations: 0 / 1.102 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.2945, allocations: 7.984 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2945, allocations: 11.88 kB / 1.102 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2945, allocations: 8 kB / 1.102 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2945, allocations: 4 kB / 1.102 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2945, allocations: 4 kB / 1.102 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.2952, allocations: 0.5059 MB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2953, allocations: 120.6 kB / 1.103 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.2953, allocations: 19.92 kB / 1.103 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.2955, allocations: 15.98 kB / 1.103 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.2956, allocations: 39.91 kB / 1.103 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.2956, allocations: 11.98 kB / 1.103 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004791/0.2961, allocations: 435.1 kB / 1.103 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2961, allocations: 0 / 1.103 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004687/0.2966, allocations: 107.8 kB / 1.104 GB, free: 0.9023 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001051/0.2977, allocations: 1.101 MB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2982, allocations: 360.1 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2983, allocations: 0 / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.2985, allocations: 195.9 kB / 1.105 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2988, allocations: 34.33 kB / 1.105 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/0.3042, allocations: 4.386 MB / 1.109 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3047, allocations: 0.8428 MB / 1.11 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002945/0.305, allocations: 94.92 kB / 1.11 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.3053, allocations: 127.4 kB / 1.111 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of SimCode: time 8.01e-07/0.3053, allocations: 0 / 1.111 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.3379, allocations: 11.56 MB / 1.122 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.863, allocations: 8.469 kB / 1.122 GB, free: 14.23 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches