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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.182/3.182, allocations: 497.2 MB / 0.7811 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 70.7 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001991/0.356, allocations: 0.6899 MB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3579, allocations: 1.35 MB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.358, allocations: 7.938 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.3585, allocations: 183.6 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3586, allocations: 95.73 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.3594, allocations: 235.1 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.36, allocations: 0.4918 MB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.36, allocations: 4 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.3603, allocations: 203.7 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.3606, allocations: 231.5 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.3607, allocations: 20 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.3609, allocations: 95.88 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.3613, allocations: 263.5 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3615, allocations: 151.2 kB / 1.308 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.362, allocations: 478.8 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.362, allocations: 4 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.744e-06/0.362, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.362, allocations: 0 / 1.308 GB, free: 13.09 MB / 1.014 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.001104/0.3631, allocations: 0.6461 MB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3632, allocations: 8.625 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.3632, allocations: 34.75 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3634, allocations: 40.67 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.364, allocations: 380.3 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.364, allocations: 12.38 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.3641, allocations: 20.38 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3644, allocations: 200.7 kB / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3644, allocations: 3.938 kB / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3645, allocations: 0 / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3645, allocations: 0 / 1.31 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.3646, allocations: 111.9 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.3651, allocations: 387.1 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.3656, allocations: 315.7 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.3658, allocations: 122.5 kB / 1.311 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3658, allocations: 3.938 kB / 1.311 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005536/0.3663, allocations: 281.6 kB / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.3663, allocations: 0 / 1.311 GB, free: 10.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0008525/0.3672, allocations: 0.4972 MB / 1.311 GB, free: 9.828 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.3673, allocations: 114.8 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.3677, allocations: 392.5 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.3678, allocations: 45.69 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.368, allocations: 156.7 kB / 1.312 GB, free: 9.086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.368, allocations: 39.72 kB / 1.312 GB, free: 9.047 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3682, allocations: 117.6 kB / 1.312 GB, free: 8.926 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3683, allocations: 342.8 kB / 1.312 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3685, allocations: 83.95 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.369, allocations: 476.2 kB / 1.313 GB, free: 7.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.3694, allocations: 257.5 kB / 1.313 GB, free: 7.609 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3694, allocations: 4 kB / 1.313 GB, free: 7.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005461/0.37, allocations: 325 kB / 1.314 GB, free: 7.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.37, allocations: 11.94 kB / 1.314 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.37, allocations: 0 / 1.314 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.37, allocations: 8.406 kB / 1.314 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3702, allocations: 39.91 kB / 1.314 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.3702, allocations: 7.938 kB / 1.314 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.3709, allocations: 64.84 kB / 1.314 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.371, allocations: 12 kB / 1.314 GB, free: 7.141 MB / 1.014 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.00034/0.3713, allocations: 200 kB / 1.314 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.3714, allocations: 31.75 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.3714, allocations: 33.89 kB / 1.314 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3715, allocations: 4 kB / 1.314 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3715, allocations: 0 / 1.314 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3715, allocations: 3.984 kB / 1.314 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.3719, allocations: 289.5 kB / 1.314 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3719, allocations: 0 / 1.314 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.3719, allocations: 7.984 kB / 1.314 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3719, allocations: 3.938 kB / 1.314 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3719, allocations: 8 kB / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3719, allocations: 7.938 kB / 1.314 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3719, allocations: 3.938 kB / 1.314 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.3726, allocations: 439.8 kB / 1.315 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3727, allocations: 108.8 kB / 1.315 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3727, allocations: 0 / 1.315 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.3728, allocations: 15.98 kB / 1.315 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.3729, allocations: 15.98 kB / 1.315 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.3729, allocations: 8 kB / 1.315 GB, free: 5.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003672/0.3733, allocations: 291 kB / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 0 / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004532/0.3737, allocations: 79.86 kB / 1.315 GB, free: 5.523 MB / 1.014 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.001174/0.3749, allocations: 1.014 MB / 1.316 GB, free: 4.473 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006425/0.3755, allocations: 252.4 kB / 1.316 GB, free: 4.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3755, allocations: 128 / 1.316 GB, free: 4.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3757, allocations: 123.9 kB / 1.317 GB, free: 4.105 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.376, allocations: 28.64 kB / 1.317 GB, free: 4.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.3805, allocations: 3.264 MB / 1.32 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.381, allocations: 0.7636 MB / 1.32 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.3811, allocations: 54.05 kB / 1.321 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3812, allocations: 83.41 kB / 1.321 GB, free: 15.7 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.3812, allocations: 4 kB / 1.321 GB, free: 15.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.428, allocations: 7.632 MB / 1.328 GB, free: 8.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.901, allocations: 8 kB / 1.328 GB, free: 8.293 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.006 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.861421748064458]