Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007793/0.007794, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001606/0.001606, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002148/1.083, allocations: 0.6759 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001638/1.085, allocations: 1.339 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/1.085, allocations: 1.125 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004923/1.086, allocations: 192 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/1.086, allocations: 107.8 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/1.086, allocations: 229.4 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/1.087, allocations: 493.4 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/1.087, allocations: 13.81 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/1.087, allocations: 203.8 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/1.088, allocations: 212 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/1.088, allocations: 24.78 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/1.088, allocations: 81.83 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003957/1.088, allocations: 254.8 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/1.089, allocations: 149.6 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006474/1.089, allocations: 479.6 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.089, allocations: 5.062 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/1.089, allocations: 0 / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.363e-06/1.089, allocations: 0 / 1.092 GB, free: 3.359 MB / 0.8575 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.0009976/1.09, allocations: 0.6459 MB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.09, allocations: 9.469 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/1.09, allocations: 35 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/1.091, allocations: 389.1 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/1.091, allocations: 13.44 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/1.091, allocations: 18.56 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/1.092, allocations: 197.2 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.092, allocations: 0.625 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/1.092, allocations: 5.828 kB / 1.094 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.092, allocations: 1.219 kB / 1.094 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/1.092, allocations: 109 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/1.092, allocations: 383.5 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/1.093, allocations: 327 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.093, allocations: 123.5 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/1.093, allocations: 5.938 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/1.093, allocations: 283.8 kB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/1.093, allocations: 0 / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009073/1.094, allocations: 0.4939 MB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.094, allocations: 114.7 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/1.095, allocations: 400.9 kB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/1.095, allocations: 36.77 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.095, allocations: 155.1 kB / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/1.095, allocations: 40.61 kB / 1.096 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.095, allocations: 118.8 kB / 1.096 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/1.095, allocations: 344 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/1.096, allocations: 87.06 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/1.096, allocations: 461.2 kB / 1.097 GB, free: 444 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/1.096, allocations: 256.6 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.096, allocations: 1.125 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005246/1.097, allocations: 337.8 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.097, allocations: 6.094 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.097, allocations: 7.906 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.097, allocations: 4.875 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.097, allocations: 30.12 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.097, allocations: 5.344 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/1.098, allocations: 72.11 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/1.098, allocations: 19.16 kB / 1.098 GB, free: 72 kB / 0.8575 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.0002348/1.098, allocations: 190.8 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/1.098, allocations: 37.5 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/1.098, allocations: 37.53 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.098, allocations: 7.406 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.098, allocations: 0 / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.098, allocations: 2.578 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/1.099, allocations: 290.2 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.099, allocations: 0.8125 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/1.099, allocations: 9.375 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.099, allocations: 1.844 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/1.099, allocations: 5.562 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.099, allocations: 2 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.099, allocations: 1.062 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/1.099, allocations: 443.5 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/1.1, allocations: 99.66 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/1.1, allocations: 6.906 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/1.1, allocations: 7.141 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/1.1, allocations: 16.78 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/1.1, allocations: 16.09 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000356/1.1, allocations: 291.9 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.1, allocations: 0 / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004605/1.101, allocations: 80.95 kB / 1.099 GB, free: 15.19 MB / 0.8731 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.0002415/1.101, allocations: 134.9 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005704/1.101, allocations: 263.1 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.101, allocations: 3.938 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/1.102, allocations: 143.4 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/1.102, allocations: 29.7 kB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.103, allocations: 0.5602 MB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/1.104, allocations: 0.7627 MB / 1.101 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001456/1.104, allocations: 45.94 kB / 1.101 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/1.104, allocations: 30.8 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.104, allocations: 4 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.0119/1.116, allocations: 5.02 MB / 1.106 GB, free: 13.57 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches