Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_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_latest_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.006022/0.006022, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001167/0.001167, allocations: 191.7 kB / 16.68 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.373/1.373, 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 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002229/0.3428, allocations: 0.8532 MB / 1.208 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3451, allocations: 1.459 MB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3453, allocations: 0 / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.3459, allocations: 203.4 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.3461, allocations: 115.6 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3472, allocations: 354.8 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.3481, allocations: 0.8815 MB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.3484, allocations: 92.27 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.349, allocations: 351.4 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.3495, allocations: 263.3 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.3497, allocations: 48 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.3501, allocations: 107.9 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.3506, allocations: 351.3 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.351, allocations: 266.8 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.3519, allocations: 0.9118 MB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3519, allocations: 4 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3519, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.352, allocations: 0 / 1.213 GB, free: 3.941 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001823/0.3538, allocations: 0.8917 MB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3538, allocations: 12.62 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.3539, allocations: 50.73 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.3541, allocations: 52.41 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009332/0.3551, allocations: 0.5409 MB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.3551, allocations: 24.61 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.3552, allocations: 32.38 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.3557, allocations: 302.2 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3557, allocations: 7.875 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3558, allocations: 15.98 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3558, allocations: 4 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.3561, allocations: 211.9 kB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.3582, allocations: 1.184 MB / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.3588, allocations: 467.7 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3591, allocations: 182.6 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3591, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.3596, allocations: 325.6 kB / 1.218 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.3596, allocations: 0 / 1.218 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.00114/0.3607, allocations: 0.6335 MB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.3608, allocations: 114.8 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007929/0.3616, allocations: 0.6031 MB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.3618, allocations: 49.69 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.362, allocations: 213.5 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.3621, allocations: 51.41 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.3623, allocations: 182.3 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3625, allocations: 358.8 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3627, allocations: 127.8 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/0.3635, allocations: 0.7219 MB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.3639, allocations: 296.6 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3639, allocations: 0 / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006597/0.3645, allocations: 421 kB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3646, allocations: 12.06 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3646, allocations: 7.938 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3646, allocations: 7.938 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3648, allocations: 31.92 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3648, allocations: 7.938 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3661, allocations: 135.8 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.3661, allocations: 8 kB / 1.221 GB, free: 11.21 MB / 0.9825 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.0003427/0.3665, allocations: 257.9 kB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.3666, allocations: 51.42 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.3667, allocations: 47.38 kB / 1.222 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3667, allocations: 11.94 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.3667, allocations: 4 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3667, allocations: 3.984 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.3671, allocations: 401.3 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3671, allocations: 0 / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.3672, allocations: 7.938 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3672, allocations: 4 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3672, allocations: 11.98 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3672, allocations: 3.938 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3672, allocations: 4 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.3679, allocations: 0.516 MB / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.368, allocations: 124.6 kB / 1.223 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3681, allocations: 8 kB / 1.223 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3683, allocations: 23.91 kB / 1.223 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.3684, allocations: 31.97 kB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3684, allocations: 8 kB / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005037/0.3689, allocations: 439.1 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3689, allocations: 0 / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004945/0.3694, allocations: 115.8 kB / 1.223 GB, free: 9.062 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: 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.001164/0.3706, allocations: 1.092 MB / 1.224 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.3712, allocations: 363.2 kB / 1.225 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3712, allocations: 3.938 kB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.3715, allocations: 196.6 kB / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3718, allocations: 39.5 kB / 1.225 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.3774, allocations: 4.388 MB / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.3779, allocations: 0.8351 MB / 1.23 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.3782, allocations: 98.86 kB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.3784, allocations: 127.4 kB / 1.23 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.3784, allocations: 0 / 1.23 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.4096, allocations: 11.56 MB / 1.242 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/8.735, allocations: 15.92 kB / 1.242 GB, free: 6.379 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches