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.001703/0.001703, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001881/0.001882, allocations: 187 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 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.243/2.243, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8531, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00174/0.8549, allocations: 0.687 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.8565, allocations: 1.337 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.8566, allocations: 1.312 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.8571, allocations: 191.5 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.8572, allocations: 100.6 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.8579, allocations: 237.5 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.8585, allocations: 492.5 kB / 1.092 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.8586, allocations: 18.44 kB / 1.092 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.8589, allocations: 203.1 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.8593, allocations: 207.5 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.8594, allocations: 21.19 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.8596, allocations: 86.09 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.86, allocations: 250 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.8602, allocations: 150.6 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.8608, allocations: 482.1 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8608, allocations: 0.6875 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8609, allocations: 0.5625 kB / 1.093 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.8609, allocations: 0.9375 kB / 1.093 GB, free: 3.352 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.001037/0.8619, allocations: 0.6356 MB / 1.094 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.862, allocations: 9.656 kB / 1.094 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.8621, allocations: 35.14 kB / 1.094 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.8626, allocations: 381 kB / 1.094 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8626, allocations: 13.94 kB / 1.094 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.8627, allocations: 21.78 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.863, allocations: 205.5 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.863, allocations: 0 / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.8631, allocations: 2.828 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8631, allocations: 1.062 kB / 1.094 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.8633, allocations: 112.2 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.8638, allocations: 383.4 kB / 1.095 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.8642, allocations: 320.2 kB / 1.095 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.8644, allocations: 127.3 kB / 1.095 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.8645, allocations: 5.531 kB / 1.095 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.8649, allocations: 282.1 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.865, allocations: 0 / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009071/0.8659, allocations: 0.49 MB / 1.096 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.8659, allocations: 122.3 kB / 1.096 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.8664, allocations: 397 kB / 1.096 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.8665, allocations: 37.62 kB / 1.096 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.8666, allocations: 153.6 kB / 1.097 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.8666, allocations: 38.3 kB / 1.097 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.8668, allocations: 118.6 kB / 1.097 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.8669, allocations: 343.3 kB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.8671, allocations: 85.61 kB / 1.097 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.8676, allocations: 467.3 kB / 1.098 GB, free: 452 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.8678, allocations: 256.3 kB / 1.098 GB, free: 256 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8678, allocations: 1.625 kB / 1.098 GB, free: 256 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005307/0.8684, allocations: 336.2 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8684, allocations: 6.812 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8684, allocations: 4.438 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.8684, allocations: 4.375 kB / 1.098 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.8686, allocations: 34.62 kB / 1.098 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.8686, allocations: 13.42 kB / 1.098 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.8694, allocations: 58.8 kB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.8695, allocations: 19.16 kB / 1.098 GB, free: 84 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.0002486/0.8697, allocations: 194.7 kB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.8698, allocations: 34.02 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.8699, allocations: 32.8 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8699, allocations: 2.844 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8699, allocations: 0.9688 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.8699, allocations: 2.016 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.8702, allocations: 290.9 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8702, allocations: 1.031 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.8703, allocations: 4.578 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8703, allocations: 1.625 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.8703, allocations: 6.359 kB / 1.099 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.8703, allocations: 9.125 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8703, allocations: 1.75 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.871, allocations: 436.9 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.8711, allocations: 107.6 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.8711, allocations: 3.312 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.8712, allocations: 6.766 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.8713, allocations: 24.86 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.8713, allocations: 12.34 kB / 1.099 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003626/0.8717, allocations: 287.6 kB / 1.1 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8717, allocations: 1.188 kB / 1.1 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004562/0.8722, allocations: 75.98 kB / 1.1 GB, free: 15.21 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.0002616/0.8725, allocations: 139.5 kB / 1.1 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.873, allocations: 253.6 kB / 1.1 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.873, allocations: 4.438 kB / 1.1 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.8734, allocations: 180.3 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.0003095/0.8737, allocations: 37.45 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.001112/0.8748, allocations: 0.5946 MB / 1.101 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8752, allocations: 0.7654 MB / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.8753, allocations: 30.17 kB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.8753, allocations: 0 / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.008515/0.8838, allocations: 4.32 MB / 1.106 GB, free: 13.52 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/jenkins1/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