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.009208/0.009208, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001782/0.001782, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.66 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3242, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002024/0.3263, allocations: 0.6649 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3282, allocations: 1.352 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.3283, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.3288, allocations: 191.5 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3289, allocations: 103.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.3297, allocations: 223 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.3303, allocations: 0.4957 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.3304, allocations: 8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.3307, allocations: 207.7 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.3311, allocations: 207.6 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3313, allocations: 20 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.3315, allocations: 79.94 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.3319, allocations: 263.4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3321, allocations: 151.3 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.3327, allocations: 478.1 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3327, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3327, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.3327, allocations: 0 / 1.092 GB, free: 13.6 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.001164/0.3339, allocations: 0.6426 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3339, allocations: 8.031 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.334, allocations: 38.75 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3341, allocations: 28.66 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.3347, allocations: 384 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3347, allocations: 12.38 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.3348, allocations: 24.12 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.3351, allocations: 188.1 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3351, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3351, allocations: 11.98 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3351, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3353, allocations: 103.9 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3357, allocations: 383.2 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.3362, allocations: 319.6 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3364, allocations: 134.4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.3364, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.3369, allocations: 287.1 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.3369, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.000825/0.3377, allocations: 497 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.3378, allocations: 122.8 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.3382, allocations: 392.5 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.3383, allocations: 37.7 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3384, allocations: 156.7 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.3385, allocations: 47.44 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.3386, allocations: 113.6 kB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3388, allocations: 350.7 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3389, allocations: 79.95 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.3394, allocations: 475.9 kB / 1.096 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.3397, allocations: 253.7 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3397, allocations: 4 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004771/0.3402, allocations: 328.8 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3402, allocations: 4 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.3402, allocations: 4 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3402, allocations: 4 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3404, allocations: 39.86 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3404, allocations: 8.391 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.3411, allocations: 67.91 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.3412, allocations: 16 kB / 1.097 GB, free: 7.672 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.0001954/0.3414, allocations: 199.9 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3414, allocations: 23.72 kB / 1.097 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.3415, allocations: 37.89 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3415, allocations: 4 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3415, allocations: 0 / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3415, allocations: 0 / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3418, allocations: 293.4 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3418, allocations: 0 / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3418, allocations: 11.92 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3418, allocations: 0 / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3418, allocations: 4 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3418, allocations: 0.625 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3419, allocations: 8 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.3424, allocations: 435.5 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.3425, allocations: 104.8 kB / 1.098 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3425, allocations: 4 kB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.3426, allocations: 4 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3427, allocations: 27.95 kB / 1.098 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3427, allocations: 15.98 kB / 1.098 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003266/0.343, allocations: 287 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.343, allocations: 0 / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000379/0.3434, allocations: 79.94 kB / 1.099 GB, free: 6.062 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.001101/0.3445, allocations: 1.007 MB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.345, allocations: 251.7 kB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.345, allocations: 8.75 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3452, allocations: 139.9 kB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.3454, allocations: 32.64 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3491, allocations: 3.264 MB / 1.103 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3494, allocations: 0.7701 MB / 1.104 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.3496, allocations: 45.95 kB / 1.104 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3497, allocations: 87.33 kB / 1.104 GB, free: 220 kB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3497, allocations: 0 / 1.104 GB, free: 220 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.3752, allocations: 7.735 MB / 1.112 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.503, allocations: 10.55 kB / 1.112 GB, free: 8.684 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.mat","/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