Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009351, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009166/0.0009166, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.01/3.01, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 14.97 kB / 0.9021 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4523, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001562/0.4539, allocations: 334 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.4545, allocations: 103.7 kB / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.4546, allocations: 0 / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4547, allocations: 8 kB / 1.058 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.4552, allocations: 19.92 kB / 1.058 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.919e-05/0.4553, allocations: 4 kB / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.4554, allocations: 31.91 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4556, allocations: 15.94 kB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.4558, allocations: 55.88 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.4559, allocations: 11.94 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.4559, allocations: 4 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.456, allocations: 0 / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.456, allocations: 7.984 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.4561, allocations: 37.64 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.4562, allocations: 35.88 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4562, allocations: 0 / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4562, allocations: 4 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4562, allocations: 0 / 1.059 GB, free: 4.645 MB / 0.8106 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.0004947/0.4567, allocations: 349 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.4568, allocations: 12.03 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.4569, allocations: 7.906 kB / 1.059 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.4572, allocations: 179 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4572, allocations: 0 / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.4573, allocations: 15.89 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.4575, allocations: 76.25 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4575, allocations: 0 / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4575, allocations: 0 / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4576, allocations: 4 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.4577, allocations: 27.92 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.4585, allocations: 0.6011 MB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4587, allocations: 169.1 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.4588, allocations: 88.08 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.4588, allocations: 75.28 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.459, allocations: 109.8 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.459, allocations: 4 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001275/0.4591, allocations: 33.64 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4592, allocations: 126.7 kB / 1.06 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4595, allocations: 163.7 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4595, allocations: 25.7 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4597, allocations: 96.12 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.4597, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.4597, allocations: 0 / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4599, allocations: 322.8 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.4599, allocations: 0 / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.46, allocations: 3.984 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.46, allocations: 83.22 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/0.4601, allocations: 75.28 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.812e-05/0.4602, allocations: 33.64 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.4603, allocations: 79.28 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.626e-05/0.4604, allocations: 79.28 kB / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.942e-05/0.4605, allocations: 158.6 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.4605, allocations: 79.22 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-05/0.4606, allocations: 154.5 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4609, allocations: 87.12 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.461, allocations: 79.23 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.4612, allocations: 272.4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4613, allocations: 108.9 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.4614, allocations: 112.9 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-05/0.4615, allocations: 180.5 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/0.4617, allocations: 188.2 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/0.4618, allocations: 180.3 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.4622, allocations: 429.1 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.671e-05/0.4622, allocations: 101 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.4623, allocations: 101 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.4625, allocations: 184.2 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.4626, allocations: 176.3 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.717e-05/0.4627, allocations: 192.2 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.004e-05/0.4628, allocations: 184.2 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.463, allocations: 315.6 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4631, allocations: 194 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4633, allocations: 180.2 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.4634, allocations: 109 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4635, allocations: 176.3 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.4636, allocations: 108.9 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001625/0.4638, allocations: 125.4 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4638, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004753/0.4643, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.4645, allocations: 174.5 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.993e-05/0.4646, allocations: 4 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4646, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.4646, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.4653, allocations: 0.5301 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.4658, allocations: 202.3 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4663, allocations: 0.6926 MB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.4663, allocations: 8 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.4664, allocations: 7.438 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4664, allocations: 3.938 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.003655/0.47, allocations: 393.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches