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.01341/0.01341, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002229/0.002229, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.902/1.902, allocations: 222.9 MB / 240.4 MB, free: 4.289 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 3.109/3.109, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001127, allocations: 70.64 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2563, allocations: 140.4 MB / 1.088 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001903/0.2582, allocations: 0.8605 MB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2602, allocations: 1.453 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.2603, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.2608, allocations: 199.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.261, allocations: 115.6 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.262, allocations: 352.2 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008901/0.2629, allocations: 0.8855 MB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2631, allocations: 96.25 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.2636, allocations: 351.3 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.2641, allocations: 263.3 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.2643, allocations: 48 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.2645, allocations: 99.89 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.265, allocations: 347.3 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.2654, allocations: 278.8 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009056/0.2663, allocations: 0.9191 MB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2664, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2664, allocations: 0 / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.2664, allocations: 0 / 1.094 GB, free: 11.75 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.001772/0.2682, allocations: 0.888 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2682, allocations: 8.031 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/0.2683, allocations: 38.75 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.2685, allocations: 64.36 kB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008882/0.2694, allocations: 0.5409 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2695, allocations: 20.61 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2696, allocations: 44.36 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.27, allocations: 313.6 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2701, allocations: 0 / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2701, allocations: 0 / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.2701, allocations: 4 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2704, allocations: 223.8 kB / 1.096 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2724, allocations: 1.18 MB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.273, allocations: 467.8 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.2732, allocations: 182.6 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2733, allocations: 4 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.2737, allocations: 333.5 kB / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 3.005e-06/0.2737, allocations: 0 / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.0009974/0.2747, allocations: 0.6263 MB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.2748, allocations: 118.8 kB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/0.2755, allocations: 0.5916 MB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.2756, allocations: 45.7 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2758, allocations: 225.4 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.2759, allocations: 51.34 kB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.2761, allocations: 185.5 kB / 1.1 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2763, allocations: 362.8 kB / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2764, allocations: 123.9 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.2772, allocations: 0.7097 MB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2776, allocations: 304.6 kB / 1.101 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2776, allocations: 4 kB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006418/0.2783, allocations: 408.8 kB / 1.101 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2783, allocations: 7.938 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.2783, allocations: 4.375 kB / 1.101 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2783, allocations: 8 kB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2785, allocations: 40.16 kB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2785, allocations: 7.938 kB / 1.101 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2798, allocations: 131.8 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2799, allocations: 20 kB / 1.102 GB, free: 3.023 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.0002962/0.2802, allocations: 257.6 kB / 1.102 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.2802, allocations: 39.47 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.2803, allocations: 55.36 kB / 1.102 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.2803, allocations: 4 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2803, allocations: 0 / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2804, allocations: 4 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.2807, allocations: 405.2 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2807, allocations: 3.984 kB / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.2808, allocations: 11.94 kB / 1.102 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2808, allocations: 3.938 kB / 1.102 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2808, allocations: 4 kB / 1.102 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2808, allocations: 7.984 kB / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2808, allocations: 0 / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.2814, allocations: 0.5149 MB / 1.103 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2816, allocations: 124.6 kB / 1.103 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.2816, allocations: 11.92 kB / 1.103 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2818, allocations: 16.08 kB / 1.103 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.2819, allocations: 39.89 kB / 1.103 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.2819, allocations: 15.98 kB / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004779/0.2824, allocations: 431.1 kB / 1.103 GB, free: 1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2824, allocations: 4 kB / 1.103 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004731/0.2829, allocations: 115.8 kB / 1.104 GB, free: 0.8828 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.00109/0.284, allocations: 1.1 MB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.2846, allocations: 359.4 kB / 1.105 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2846, allocations: 0 / 1.105 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2849, allocations: 187.8 kB / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2852, allocations: 34.7 kB / 1.105 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.2904, allocations: 4.39 MB / 1.109 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.2909, allocations: 0.835 MB / 1.11 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000258/0.2912, allocations: 86.94 kB / 1.11 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2914, allocations: 131.4 kB / 1.111 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.2914, allocations: 4.375 kB / 1.111 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3445/0.6359, allocations: 11.56 MB / 1.122 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.4, allocations: 2.656 kB / 1.122 GB, free: 14.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.mat","/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