Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007114/0.007114, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001622/0.001622, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 157.4 MB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001868/0.3363, allocations: 0.6776 MB / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3382, allocations: 1.354 MB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.3383, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3388, allocations: 183.5 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3389, allocations: 111.7 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.3397, allocations: 239.8 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.3403, allocations: 487.7 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.3403, allocations: 12 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.3406, allocations: 207.6 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.3409, allocations: 207.6 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.965e-05/0.341, allocations: 20 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3412, allocations: 83.94 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.3416, allocations: 263.5 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.3418, allocations: 147.3 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.3423, allocations: 475 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3423, allocations: 4 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3423, allocations: 0 / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.648 MB / 0.9669 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.001066/0.3434, allocations: 0.6345 MB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3435, allocations: 12.62 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3435, allocations: 34.75 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.3437, allocations: 32.64 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.3443, allocations: 384 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3443, allocations: 16.38 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.3444, allocations: 24.38 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.3447, allocations: 200.6 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3447, allocations: 3.938 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3447, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3448, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3449, allocations: 107.9 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3454, allocations: 383.1 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.3458, allocations: 315.6 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.346, allocations: 126.6 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.346, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004373/0.3465, allocations: 301.3 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3465, allocations: 0 / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0007946/0.3473, allocations: 493.2 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.3474, allocations: 122.8 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.3478, allocations: 396.4 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.3479, allocations: 45.69 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.348, allocations: 148.8 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.3481, allocations: 47.47 kB / 1.215 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3482, allocations: 113.6 kB / 1.215 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3484, allocations: 342.8 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3485, allocations: 83.89 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.349, allocations: 468.2 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3493, allocations: 257.5 kB / 1.216 GB, free: 184 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3494, allocations: 0 / 1.216 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005154/0.3499, allocations: 325.1 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3499, allocations: 13.66 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3499, allocations: 3.938 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3499, allocations: 8 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3501, allocations: 35.91 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3501, allocations: 4.406 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.3509, allocations: 71.97 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3509, allocations: 8 kB / 1.217 GB, free: 15.71 MB / 0.9825 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.0002002/0.3511, allocations: 195.9 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.3512, allocations: 27.66 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.3512, allocations: 37.89 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3512, allocations: 4 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3512, allocations: 0 / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.3513, allocations: 4.219 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3515, allocations: 285.4 kB / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3515, allocations: 0 / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.3516, allocations: 11.92 kB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3516, allocations: 7.922 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3516, allocations: 8 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3516, allocations: 7.938 kB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3516, allocations: 7.938 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.3522, allocations: 426.3 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3523, allocations: 104.8 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.3523, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3524, allocations: 15.92 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.3525, allocations: 19.98 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3525, allocations: 8 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003171/0.3529, allocations: 295 kB / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3529, allocations: 0 / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004141/0.3533, allocations: 75.92 kB / 1.218 GB, free: 14.11 MB / 0.9825 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.0009648/0.3543, allocations: 1.003 MB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.3547, allocations: 259.6 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3547, allocations: 0 / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.3549, allocations: 148.8 kB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3552, allocations: 29.84 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.3592, allocations: 3.257 MB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.3595, allocations: 0.7675 MB / 1.224 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.3597, allocations: 45.94 kB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3598, allocations: 79.41 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of SimCode: time 2.815e-06/0.3598, allocations: 0 / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3867, allocations: 7.769 MB / 1.231 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.339, allocations: 5.531 kB / 1.231 GB, free: 0.7344 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches