Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.008141/0.008141, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001709/0.001709, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.62/1.62, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.97/2.97, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3917, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001742/0.3934, allocations: 0.6877 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3952, allocations: 1.347 MB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.3953, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.3958, allocations: 191.5 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.3959, allocations: 103.7 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007076/0.3966, allocations: 226.9 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.3971, allocations: 0.4918 MB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3972, allocations: 12 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3974, allocations: 199.7 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.3977, allocations: 215.5 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.052e-05/0.3978, allocations: 24 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.398, allocations: 79.94 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.3984, allocations: 247.5 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.3986, allocations: 155.3 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.3991, allocations: 474.5 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3991, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.986e-06/0.3991, allocations: 0 / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3991, allocations: 3.938 kB / 1.171 GB, free: 2.395 MB / 0.92 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.0009497/0.4, allocations: 0.6461 MB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4001, allocations: 12.03 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4002, allocations: 32.78 kB / 1.172 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.4007, allocations: 380.3 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4007, allocations: 16.38 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.4008, allocations: 20.38 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.4011, allocations: 188.7 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4011, allocations: 8.125 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4011, allocations: 3.938 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4011, allocations: 4 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.4013, allocations: 107.9 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4017, allocations: 391 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.4021, allocations: 315.6 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.4023, allocations: 130.6 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.4023, allocations: 4 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.4028, allocations: 287.4 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4028, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008113/0.4037, allocations: 0.4895 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.4037, allocations: 114.8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.4042, allocations: 400.4 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.4042, allocations: 45.69 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4044, allocations: 148.8 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4045, allocations: 39.73 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4046, allocations: 121.6 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4048, allocations: 342.8 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4049, allocations: 83.95 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.4055, allocations: 468.2 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.4058, allocations: 253.6 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4058, allocations: 4 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004813/0.4063, allocations: 329.4 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4064, allocations: 11.97 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4064, allocations: 4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4064, allocations: 8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.4066, allocations: 31.91 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4066, allocations: 7.938 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.4073, allocations: 68.58 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.4073, allocations: 12 kB / 1.176 GB, free: 12.5 MB / 0.9356 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.0002052/0.4076, allocations: 199.9 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.4076, allocations: 31.75 kB / 1.176 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.4077, allocations: 33.89 kB / 1.176 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4077, allocations: 4 kB / 1.176 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4077, allocations: 3.938 kB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4077, allocations: 3.984 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.408, allocations: 281.5 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.408, allocations: 0 / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.4081, allocations: 11.98 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4081, allocations: 7.875 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4081, allocations: 8 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4081, allocations: 7.984 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4081, allocations: 0 / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.4087, allocations: 430.5 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.4087, allocations: 105 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4088, allocations: 3.938 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.4089, allocations: 7.984 kB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.4089, allocations: 15.98 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.409, allocations: 15.94 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003046/0.4093, allocations: 291 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4093, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003857/0.4097, allocations: 83.86 kB / 1.178 GB, free: 10.88 MB / 0.9356 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.00025/0.4099, allocations: 143 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.4104, allocations: 257.9 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4104, allocations: 4 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.4106, allocations: 140.8 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4109, allocations: 36.72 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.4119, allocations: 0.5773 MB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4123, allocations: 0.7636 MB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.4125, allocations: 46.2 kB / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.4125, allocations: 31.42 kB / 1.18 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.4125, allocations: 0 / 1.18 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.009226/0.4218, allocations: 5.014 MB / 1.185 GB, free: 3.867 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches