Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001997/0.001997, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6643 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 63.91 kB / 0.8121 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.8441, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002458/0.8466, allocations: 0.9151 MB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.8485, allocations: 1.45 MB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.8486, allocations: 5.312 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.8492, allocations: 187.2 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.8493, allocations: 114.9 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.8502, allocations: 326.3 kB / 0.952 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000867/0.8511, allocations: 0.8664 MB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.8513, allocations: 96.7 kB / 0.953 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.8517, allocations: 350.2 kB / 0.9533 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.8521, allocations: 262.6 kB / 0.9536 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.8522, allocations: 44.84 kB / 0.9536 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.8525, allocations: 110.6 kB / 0.9537 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.8529, allocations: 349.9 kB / 0.954 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.8532, allocations: 274.9 kB / 0.9543 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008281/0.854, allocations: 0.8985 MB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.854, allocations: 0 / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.854, allocations: 3.984 kB / 0.9552 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.854, allocations: 0 / 0.9552 GB, free: 4.938 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001551/0.8556, allocations: 0.8864 MB / 0.9561 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8556, allocations: 10.44 kB / 0.9561 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.8558, allocations: 53.34 kB / 0.9561 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.8565, allocations: 0.5492 MB / 0.9566 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.8566, allocations: 19.73 kB / 0.9567 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.8567, allocations: 37.25 kB / 0.9567 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.8572, allocations: 315.3 kB / 0.957 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.8572, allocations: 0 / 0.957 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.8572, allocations: 2.25 kB / 0.957 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8572, allocations: 2.062 kB / 0.957 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.8576, allocations: 230.4 kB / 0.9572 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.8594, allocations: 1.179 MB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.86, allocations: 463.6 kB / 0.9588 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.8603, allocations: 182 kB / 0.959 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.8603, allocations: 5.156 kB / 0.959 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.8608, allocations: 338.3 kB / 0.9593 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.8608, allocations: 0 / 0.9593 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001031/0.8618, allocations: 0.6346 MB / 0.9599 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.8619, allocations: 115 kB / 0.96 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.8626, allocations: 0.5982 MB / 0.9606 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.8627, allocations: 43.92 kB / 0.9607 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.8629, allocations: 217 kB / 0.9609 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.8629, allocations: 57.34 kB / 0.9609 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.8632, allocations: 180.3 kB / 0.9611 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8633, allocations: 357.9 kB / 0.9615 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.8635, allocations: 131.8 kB / 0.9616 GB, free: 444 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/0.8643, allocations: 0.7199 MB / 0.9623 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.8647, allocations: 301.1 kB / 0.9626 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8648, allocations: 1.094 kB / 0.9626 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007955/0.8656, allocations: 424.6 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.8656, allocations: 10.19 kB / 0.963 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8656, allocations: 3.25 kB / 0.963 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.8656, allocations: 5.469 kB / 0.963 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.8658, allocations: 34.52 kB / 0.963 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.8659, allocations: 9.578 kB / 0.963 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8673, allocations: 137.8 kB / 0.9632 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.8673, allocations: 11.44 kB / 0.9632 GB, free: 15.26 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0004593/0.8678, allocations: 253.7 kB / 0.9634 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.8679, allocations: 49.66 kB / 0.9635 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.868, allocations: 50.12 kB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.868, allocations: 3.344 kB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.8681, allocations: 1.094 kB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.8681, allocations: 5.203 kB / 0.9635 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.8686, allocations: 402 kB / 0.9639 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8686, allocations: 5.172 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.8687, allocations: 11.05 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.8687, allocations: 6.219 kB / 0.9639 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.8687, allocations: 8.125 kB / 0.9639 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8687, allocations: 5 kB / 0.9639 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8687, allocations: 1.062 kB / 0.9639 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.8696, allocations: 0.5154 MB / 0.9644 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.8697, allocations: 127.3 kB / 0.9646 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.167e-05/0.8698, allocations: 10.77 kB / 0.9646 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.87, allocations: 13.36 kB / 0.9646 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.8701, allocations: 33.5 kB / 0.9646 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.8702, allocations: 18.23 kB / 0.9646 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006376/0.8708, allocations: 429.6 kB / 0.965 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8708, allocations: 0 / 0.965 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006806/0.8715, allocations: 110.9 kB / 0.9652 GB, free: 13.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003913/0.8719, allocations: 154.5 kB / 0.9653 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007603/0.8727, allocations: 371.8 kB / 0.9657 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8727, allocations: 1.312 kB / 0.9657 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.873, allocations: 183.4 kB / 0.9658 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.8734, allocations: 50.05 kB / 0.9659 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.8749, allocations: 0.9178 MB / 0.9668 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.8754, allocations: 0.8327 MB / 0.9676 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.8757, allocations: 95.73 kB / 0.9677 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.8759, allocations: 39.52 kB / 0.9677 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.8759, allocations: 0 / 0.9677 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01542/0.8913, allocations: 7.909 MB / 0.9754 GB, free: 6.52 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches