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.005762/0.005762, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001169/0.001169, allocations: 194 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.549/2.549, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 72.11 kB / 0.9504 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001937/0.2603, allocations: 0.8605 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2624, allocations: 1.457 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2626, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2631, allocations: 199.4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.2633, allocations: 115.6 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2645, allocations: 352.1 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.2656, allocations: 0.8777 MB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.2658, allocations: 96.23 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.2663, allocations: 351.4 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.2668, allocations: 263.3 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2669, allocations: 44 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.2672, allocations: 107.9 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.2677, allocations: 347.3 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.2681, allocations: 278.8 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2691, allocations: 0.9076 MB / 1.094 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2692, allocations: 3.984 kB / 1.094 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2692, allocations: 0 / 1.094 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.2692, allocations: 0 / 1.094 GB, free: 11.9 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.001943/0.2711, allocations: 0.8995 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2712, allocations: 12.03 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.2713, allocations: 46.73 kB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.2715, allocations: 60.59 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009616/0.2725, allocations: 0.5491 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.2725, allocations: 20.61 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.2726, allocations: 36.38 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.2731, allocations: 309.6 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2731, allocations: 3.938 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2732, allocations: 7.984 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2732, allocations: 4 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2736, allocations: 223.9 kB / 1.096 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.2757, allocations: 1.172 MB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.2764, allocations: 479.7 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2767, allocations: 182.6 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.2767, allocations: 0 / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.2771, allocations: 331 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2771, allocations: 0 / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001091/0.2782, allocations: 0.6337 MB / 1.098 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.2783, allocations: 114.8 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/0.2791, allocations: 0.6033 MB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.2792, allocations: 41.7 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.2795, allocations: 217.5 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.2795, allocations: 51.62 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.2798, allocations: 186.3 kB / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.28, allocations: 358.8 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2801, allocations: 127.9 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.281, allocations: 0.7176 MB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.2814, allocations: 296.6 kB / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2814, allocations: 0 / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006781/0.2821, allocations: 421.2 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2821, allocations: 16 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2821, allocations: 3.938 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2821, allocations: 8 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2823, allocations: 31.92 kB / 1.101 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.2823, allocations: 15.92 kB / 1.101 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.2837, allocations: 124.1 kB / 1.102 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2837, allocations: 23.98 kB / 1.102 GB, free: 3.141 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.0003377/0.2841, allocations: 257.6 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.2841, allocations: 47.66 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.221e-05/0.2842, allocations: 47.38 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2842, allocations: 8 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.2843, allocations: 0 / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2843, allocations: 7.984 kB / 1.102 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.2847, allocations: 405.3 kB / 1.102 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2847, allocations: 0 / 1.102 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.2847, allocations: 11.92 kB / 1.102 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.2847, allocations: 3.938 kB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2847, allocations: 4 kB / 1.102 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2848, allocations: 4 kB / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2848, allocations: 0 / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.2854, allocations: 0.519 MB / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2856, allocations: 128.8 kB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2856, allocations: 11.92 kB / 1.103 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2858, allocations: 15.98 kB / 1.103 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.2859, allocations: 27.97 kB / 1.103 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.2859, allocations: 16 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004841/0.2864, allocations: 435 kB / 1.103 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2864, allocations: 0 / 1.103 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004758/0.2869, allocations: 111.9 kB / 1.104 GB, free: 1.008 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.001082/0.288, allocations: 1.11 MB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005772/0.2886, allocations: 359.4 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2886, allocations: 0 / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.2889, allocations: 187.8 kB / 1.105 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2892, allocations: 44.11 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.2947, allocations: 4.396 MB / 1.11 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.2952, allocations: 0.8355 MB / 1.11 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000267/0.2954, allocations: 103 kB / 1.11 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.2957, allocations: 131.4 kB / 1.111 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.2957, allocations: 0 / 1.111 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.3294, allocations: 11.55 MB / 1.122 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.744, allocations: 8.578 kB / 1.122 GB, free: 14.3 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