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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.394/3.394, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 70.94 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002263/0.3727, allocations: 0.6843 MB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.375, allocations: 1.385 MB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.3751, allocations: 3.938 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.3757, allocations: 191.6 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.3758, allocations: 107.6 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.3767, allocations: 235.9 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000685/0.3774, allocations: 0.4918 MB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.3775, allocations: 4 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.3778, allocations: 207.7 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.3783, allocations: 231.5 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3784, allocations: 20 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.3786, allocations: 99.89 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.3791, allocations: 272 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.3794, allocations: 155.3 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.3801, allocations: 482.7 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3801, allocations: 4 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3801, allocations: 0 / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.3801, allocations: 0 / 1.357 GB, free: 3.914 MB / 1.045 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.00128/0.3814, allocations: 0.567 MB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3814, allocations: 8.031 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.3815, allocations: 34.75 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3816, allocations: 36.73 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.3823, allocations: 322.5 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.3823, allocations: 20.34 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.3824, allocations: 24.38 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.3827, allocations: 188.6 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3827, allocations: 3.938 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3827, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3827, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.3829, allocations: 111.9 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.3834, allocations: 370 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.3839, allocations: 315.6 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.3841, allocations: 118.6 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3841, allocations: 4 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.3848, allocations: 283.1 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 2.465e-06/0.3848, allocations: 0 / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001042/0.3858, allocations: 0.5012 MB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3859, allocations: 110.8 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.3865, allocations: 404.5 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/0.3866, allocations: 37.7 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3868, allocations: 156.8 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.3869, allocations: 39.75 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.3871, allocations: 113.5 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3873, allocations: 350.8 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3875, allocations: 87.95 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.3881, allocations: 466.9 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.3885, allocations: 257.4 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3885, allocations: 4 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006209/0.3891, allocations: 329.2 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.3892, allocations: 11.94 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3892, allocations: 4 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.3892, allocations: 4.406 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3894, allocations: 31.92 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3894, allocations: 4 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.3902, allocations: 79.86 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3902, allocations: 8 kB / 1.362 GB, free: 14.16 MB / 1.061 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.0002732/0.3905, allocations: 199.7 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.3905, allocations: 35.75 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3906, allocations: 33.89 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3906, allocations: 7.938 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.3906, allocations: 4 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3906, allocations: 4 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.391, allocations: 252.5 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.391, allocations: 0 / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.391, allocations: 11.94 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.391, allocations: 7.938 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.391, allocations: 7.984 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.391, allocations: 4 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.391, allocations: 0 / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.3917, allocations: 432.8 kB / 1.363 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.3917, allocations: 35.67 kB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3918, allocations: 11.98 kB / 1.363 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.3919, allocations: 0 / 1.363 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.3919, allocations: 23.97 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3919, allocations: 12 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003815/0.3923, allocations: 291 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3923, allocations: 0 / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004557/0.3928, allocations: 75.94 kB / 1.364 GB, free: 12.67 MB / 1.061 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.001233/0.394, allocations: 1.003 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.3945, allocations: 256.4 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3945, allocations: 0 / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3947, allocations: 128.1 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.395, allocations: 20.8 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.3994, allocations: 3.26 MB / 1.368 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.3998, allocations: 0.7675 MB / 1.369 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.3999, allocations: 45.95 kB / 1.369 GB, free: 6.938 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.4001, allocations: 87.39 kB / 1.369 GB, free: 6.852 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/0.4001, allocations: 7.938 kB / 1.369 GB, free: 6.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.4402, allocations: 7.819 MB / 1.377 GB, free: 15.24 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.84, allocations: 8.719 kB / 1.377 GB, free: 15.24 MB / 1.076 GB " [Timeout remaining time 288] (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/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: 18.92655775300227]