Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001482/0.001482, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002264/0.002264, allocations: 66.42 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3253, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002197/0.3275, allocations: 0.6615 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3295, allocations: 1.348 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.3296, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.3302, allocations: 187.5 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.3303, allocations: 99.73 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.3311, allocations: 252.3 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.3317, allocations: 487.7 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.3317, allocations: 5.672 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.332, allocations: 203.7 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.3323, allocations: 227.6 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.3324, allocations: 20 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.3327, allocations: 99.84 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.3331, allocations: 275.4 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3332, allocations: 131.4 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.3339, allocations: 486 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.3339, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 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.001161/0.335, allocations: 0.5708 MB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3351, allocations: 8.031 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.3351, allocations: 42.69 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3353, allocations: 36.69 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.3359, allocations: 322.5 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3359, allocations: 12.38 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.336, allocations: 24.36 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3363, allocations: 188.7 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3363, allocations: 3.938 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3364, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3364, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3366, allocations: 119.9 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.337, allocations: 294.4 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.3375, allocations: 315.6 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3377, allocations: 122.6 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3377, allocations: 3.938 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.3383, allocations: 281.6 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.3383, allocations: 0 / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008776/0.3391, allocations: 0.5052 MB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.3392, allocations: 114.8 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.3397, allocations: 396.5 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.3397, allocations: 37.7 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3399, allocations: 156.7 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.3399, allocations: 35.78 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3401, allocations: 117.6 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3403, allocations: 342.8 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3404, allocations: 91.94 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.3414, allocations: 1.085 MB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.3417, allocations: 253.5 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3417, allocations: 0 / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005348/0.3423, allocations: 329.3 kB / 1.292 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3423, allocations: 16.03 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3423, allocations: 4 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3423, allocations: 4 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3425, allocations: 39.84 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.3425, allocations: 11.94 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.3432, allocations: 63.95 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3432, allocations: 12 kB / 1.293 GB, free: 1.523 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.0002266/0.3434, allocations: 197.5 kB / 1.293 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.3435, allocations: 35.73 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3435, allocations: 33.89 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3435, allocations: 0 / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3435, allocations: 7.938 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3436, allocations: 3.984 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.3438, allocations: 228.7 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3438, allocations: 0 / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.3438, allocations: 8 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3439, allocations: 3.938 kB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3439, allocations: 7.984 kB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3439, allocations: 3.938 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3439, allocations: 4 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.3445, allocations: 433.1 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.3445, allocations: 31.72 kB / 1.294 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.3446, allocations: 12 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.3447, allocations: 0 / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.3447, allocations: 19.97 kB / 1.294 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.3448, allocations: 8 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003419/0.3451, allocations: 299 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3451, allocations: 0 / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003733/0.3455, allocations: 83.86 kB / 1.294 GB, free: 64 kB / 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.001071/0.3465, allocations: 0.9924 MB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.347, allocations: 248.2 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.347, allocations: 8.25 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3472, allocations: 124.4 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3475, allocations: 26.47 kB / 1.295 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3516, allocations: 3.278 MB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3517, allocations: 157.2 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.3519, allocations: 45.94 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.352, allocations: 83.59 kB / 1.299 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.352, allocations: 4 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.4029, allocations: 8.634 MB / 1.307 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 2.625 kB / 1.307 GB, free: 2.516 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.51430109795183]