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.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.001371/0.001371, allocations: 103.6 kB / 17.54 MB, free: 4.777 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.001422/0.001422, allocations: 186.6 kB / 20.71 MB, free: 1.621 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.327/1.327, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7761, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001594/0.7776, allocations: 0.6851 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.7791, allocations: 1.356 MB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.7791, allocations: 1.562 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.7796, allocations: 192.4 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7797, allocations: 100.1 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.7803, allocations: 243.4 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.7808, allocations: 491.2 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.7809, allocations: 3.062 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.781, allocations: 207.4 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.7814, allocations: 222.8 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.7814, allocations: 25.88 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.7817, allocations: 86.53 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.782, allocations: 278 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.7822, allocations: 150.9 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.7827, allocations: 488.1 kB / 1.276 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7827, allocations: 0 / 1.276 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7827, allocations: 0 / 1.276 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.7827, allocations: 0.9688 kB / 1.276 GB, free: 5.512 MB / 0.9981 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.0008226/0.7835, allocations: 0.6395 MB / 1.276 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.7835, allocations: 12.8 kB / 1.276 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.7836, allocations: 36.44 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.7837, allocations: 30.11 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.7841, allocations: 382.8 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7841, allocations: 16.89 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.7841, allocations: 24.5 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.7844, allocations: 195.2 kB / 1.277 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7844, allocations: 7.938 kB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7844, allocations: 3.5 kB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7844, allocations: 0.9688 kB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.7846, allocations: 110.8 kB / 1.277 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.785, allocations: 379.3 kB / 1.278 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.7854, allocations: 317.9 kB / 1.278 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.7855, allocations: 122.3 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.7855, allocations: 0.9688 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.7859, allocations: 293.4 kB / 1.278 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.7859, allocations: 0.7812 kB / 1.278 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008023/0.7867, allocations: 0.4902 MB / 1.279 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.7868, allocations: 122.7 kB / 1.279 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.7871, allocations: 400.9 kB / 1.279 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.7871, allocations: 37.81 kB / 1.279 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.7872, allocations: 157.7 kB / 1.279 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.7873, allocations: 45.55 kB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.7874, allocations: 119 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.7875, allocations: 342.7 kB / 1.28 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.7876, allocations: 87.75 kB / 1.28 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.788, allocations: 468.7 kB / 1.28 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.7882, allocations: 252.1 kB / 1.281 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7882, allocations: 3.406 kB / 1.281 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004081/0.7886, allocations: 328.1 kB / 1.281 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7886, allocations: 10.44 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7886, allocations: 4.562 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7886, allocations: 4.281 kB / 1.281 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.7887, allocations: 33.38 kB / 1.281 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7888, allocations: 6.578 kB / 1.281 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.7895, allocations: 67.34 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.7895, allocations: 18.08 kB / 1.281 GB, free: 2.172 MB / 0.9981 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.0001439/0.7896, allocations: 198.6 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.7897, allocations: 33.7 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.7897, allocations: 36.45 kB / 1.281 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.7897, allocations: 4.578 kB / 1.281 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7897, allocations: 0 / 1.281 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7897, allocations: 6.641 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.7899, allocations: 286.3 kB / 1.282 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7899, allocations: 1.938 kB / 1.282 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.7899, allocations: 3.906 kB / 1.282 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7899, allocations: 5.469 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.79, allocations: 5.844 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.79, allocations: 3.25 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.79, allocations: 0.6094 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.7904, allocations: 444.5 kB / 1.282 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.7904, allocations: 106.4 kB / 1.282 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.7905, allocations: 4.5 kB / 1.282 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.7906, allocations: 10.41 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.7906, allocations: 15.66 kB / 1.282 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.7906, allocations: 15.94 kB / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002424/0.7909, allocations: 289.2 kB / 1.283 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7909, allocations: 0 / 1.283 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003479/0.7912, allocations: 80.2 kB / 1.283 GB, free: 1.297 MB / 0.9981 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.0006601/0.7919, allocations: 0.999 MB / 1.284 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.7922, allocations: 250 kB / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7922, allocations: 0 / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.7924, allocations: 126.8 kB / 1.284 GB, free: 492 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.7926, allocations: 29.38 kB / 1.284 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.7959, allocations: 3.26 MB / 1.287 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.7962, allocations: 0.7644 MB / 1.288 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.7963, allocations: 50.72 kB / 1.288 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.7964, allocations: 84.8 kB / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7964, allocations: 0 / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.8258, allocations: 7.624 MB / 1.295 GB, free: 12.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/8.104, allocations: 1.156 kB / 1.295 GB, free: 12.97 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.498656967999523]