Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 110 kB / 15.99 MB, free: 6.75 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.00204/0.00204, allocations: 199.2 kB / 16.91 MB, free: 6.523 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7107 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.8694 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6412, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003676/0.6449, allocations: 2.518 MB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.6476, allocations: 1.564 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.6478, allocations: 11.88 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.6485, allocations: 299.2 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.6491, allocations: 303 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.65, allocations: 410 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000852/0.6509, allocations: 0.7051 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.6511, allocations: 89.72 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.6516, allocations: 334.5 kB / 1.024 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.652, allocations: 334.7 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.652, allocations: 28 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.6522, allocations: 87.91 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.6524, allocations: 195.3 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.6527, allocations: 270.1 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.6533, allocations: 0.6022 MB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6533, allocations: 0 / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6533, allocations: 3.938 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6533, allocations: 0 / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001601/0.655, allocations: 0.995 MB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.655, allocations: 15.97 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.6551, allocations: 72 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009094/0.656, allocations: 0.6172 MB / 1.027 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.6561, allocations: 16.36 kB / 1.027 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.6561, allocations: 15.94 kB / 1.027 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.6565, allocations: 207.2 kB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6565, allocations: 0 / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.6566, allocations: 7.984 kB / 1.027 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6566, allocations: 4 kB / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.6568, allocations: 99.88 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.6582, allocations: 1.056 MB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.6588, allocations: 277 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.659, allocations: 104.2 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.6591, allocations: 11.98 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.6595, allocations: 216.2 kB / 1.029 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.466e-06/0.6595, allocations: 0 / 1.029 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0009642/0.6605, allocations: 425.4 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.6606, allocations: 170.1 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.662, allocations: 1.036 MB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.662, allocations: 37.7 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.6624, allocations: 288.9 kB / 1.031 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.6624, allocations: 83.02 kB / 1.031 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.6627, allocations: 138.2 kB / 1.031 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.6629, allocations: 334 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.6633, allocations: 209.2 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.6637, allocations: 303 kB / 1.032 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.6644, allocations: 417.1 kB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6644, allocations: 0 / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001369/0.6658, allocations: 0.6682 MB / 1.033 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6658, allocations: 8.156 kB / 1.033 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6658, allocations: 4 kB / 1.033 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6658, allocations: 7.984 kB / 1.033 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.6663, allocations: 111.8 kB / 1.033 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.6663, allocations: 7.938 kB / 1.033 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.6666, allocations: 43.72 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.6667, allocations: 28 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003262/0.667, allocations: 282.1 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.6671, allocations: 71.06 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.6672, allocations: 69.88 kB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.6672, allocations: 4 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6672, allocations: 7.938 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6672, allocations: 0 / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.6677, allocations: 461.5 kB / 1.034 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6677, allocations: 3.984 kB / 1.034 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.6678, allocations: 23.94 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.6678, allocations: 4 kB / 1.034 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6678, allocations: 11.98 kB / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6678, allocations: 8 kB / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.6679, allocations: 3.938 kB / 1.034 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.6685, allocations: 398.7 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.6687, allocations: 156.2 kB / 1.034 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.6688, allocations: 8 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6689, allocations: 27.91 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.669, allocations: 19.92 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.669, allocations: 15.98 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007756/0.6698, allocations: 0.6044 MB / 1.035 GB, free: 392 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6698, allocations: 0 / 1.035 GB, free: 392 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000436/0.6703, allocations: 119.9 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001162/0.6715, allocations: 481.9 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.6723, allocations: 415.3 kB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6723, allocations: 0 / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.6725, allocations: 112.1 kB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.6735, allocations: 220.7 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.6754, allocations: 1.278 MB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.6759, allocations: 0.9285 MB / 1.038 GB, free: 12.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.676, allocations: 63.36 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.676, allocations: 7.938 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of Templates: time 0.01296/0.689, allocations: 8.807 MB / 1.047 GB, free: 4.156 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches