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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0014/0.0014, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001614/0.001614, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.7002, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001677/0.702, allocations: 0.5993 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.7023, allocations: 107.7 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.7024, allocations: 3.938 kB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.908e-05/0.7025, allocations: 4 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.7028, allocations: 27.91 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.275e-05/0.7029, allocations: 11.98 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.703, allocations: 31.86 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7031, allocations: 23.98 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.7033, allocations: 47.95 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.7033, allocations: 19.86 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.7033, allocations: 4 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.7033, allocations: 0 / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.7034, allocations: 15.98 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.7034, allocations: 15.88 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.7035, allocations: 51.75 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7035, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7035, allocations: 3.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7036, allocations: 4 kB / 1.209 GB, free: 12.68 MB / 0.9356 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.0002986/0.7039, allocations: 346.9 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7039, allocations: 12.02 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.7039, allocations: 4.938 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.7041, allocations: 190.3 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7041, allocations: 4.375 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.7041, allocations: 384 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.7043, allocations: 88.75 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7043, allocations: 3.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.7043, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7043, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.7044, allocations: 23.98 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.7048, allocations: 0.6089 MB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.7048, allocations: 169.1 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.7049, allocations: 80.14 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.7049, allocations: 79.28 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.7049, allocations: 109.8 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.7049, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.161e-05/0.705, allocations: 37.61 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.7051, allocations: 130.6 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7052, allocations: 159.8 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.7052, allocations: 25.7 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.7053, allocations: 96.12 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.7053, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.7053, allocations: 9.719 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.7054, allocations: 322.8 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.7054, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.7054, allocations: 7.984 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.7055, allocations: 75.28 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/0.7055, allocations: 75.28 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.571e-05/0.7056, allocations: 29.7 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.7056, allocations: 79.28 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.7056, allocations: 83.22 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.313e-05/0.7057, allocations: 154.6 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.7057, allocations: 87.2 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.01e-05/0.7058, allocations: 150.6 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.7059, allocations: 91.06 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.7059, allocations: 87.16 kB / 1.213 GB, free: 9.07 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.706, allocations: 276.4 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.7061, allocations: 101 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.7061, allocations: 112.8 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/0.7062, allocations: 188.2 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/0.7062, allocations: 176.3 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/0.7063, allocations: 188.2 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.7065, allocations: 421.2 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.7065, allocations: 104.9 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.7066, allocations: 105 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.237e-05/0.7066, allocations: 180.2 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/0.7067, allocations: 180.5 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/0.7067, allocations: 184.2 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.579e-05/0.7068, allocations: 188.2 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.7069, allocations: 307.7 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.707, allocations: 193.9 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.7071, allocations: 180.3 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.7072, allocations: 108.9 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7072, allocations: 184.2 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.7073, allocations: 101 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.7073, allocations: 127.2 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7073, allocations: 0 / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002621/0.7076, allocations: 4 kB / 1.216 GB, free: 5.309 MB / 0.9356 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 (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.000126/0.7077, allocations: 174.5 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.426e-05/0.7078, allocations: 4 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7078, allocations: 0 / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.7078, allocations: 0 / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.7081, allocations: 461.4 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.7084, allocations: 241.9 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.7086, allocations: 0.6923 MB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.7087, allocations: 7.438 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7087, allocations: 0 / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.001799/0.7105, allocations: 0.7031 MB / 1.218 GB, free: 2.977 MB / 0.9356 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/jenkins1/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