Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001122/0.001122, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001079/0.001079, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.168/2.168, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.745, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001666/0.7467, allocations: 0.6093 MB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003471/0.7471, allocations: 101 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.7471, allocations: 5.094 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.804e-05/0.7472, allocations: 1.406 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.7476, allocations: 29.3 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.981e-05/0.7477, allocations: 12.39 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.7478, allocations: 28.98 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.7479, allocations: 19.22 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.7481, allocations: 55.31 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.7481, allocations: 18.48 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7481, allocations: 3.156 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.7482, allocations: 2.062 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.7482, allocations: 16.95 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.7482, allocations: 20.91 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.7483, allocations: 47.8 kB / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.7484, allocations: 0.5156 kB / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7484, allocations: 0 / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7484, allocations: 0 / 1.09 GB, free: 4.988 MB / 0.8575 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.000287/0.7487, allocations: 355.7 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7487, allocations: 9.75 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.7487, allocations: 4.719 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.7489, allocations: 188 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7489, allocations: 1.5 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7489, allocations: 6.906 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.7491, allocations: 86.73 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.7491, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7491, allocations: 5.062 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7491, allocations: 5.078 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.7492, allocations: 26.58 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.7496, allocations: 0.6029 MB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.7496, allocations: 175.1 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.7496, allocations: 80.14 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.7496, allocations: 79.22 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.7497, allocations: 110.8 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7497, allocations: 0.9062 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.474e-05/0.7497, allocations: 29.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.7498, allocations: 131.5 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.7499, allocations: 166.2 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.7499, allocations: 29.64 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.75, allocations: 94.45 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.75, allocations: 0 / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.75, allocations: 11.38 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.7501, allocations: 320 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-06/0.7501, allocations: 0 / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.7501, allocations: 7.516 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.295e-05/0.7501, allocations: 76.19 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.7502, allocations: 79.28 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.241e-05/0.7502, allocations: 35.66 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7502, allocations: 81.42 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7503, allocations: 80.28 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.7503, allocations: 156.5 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.106e-05/0.7503, allocations: 80.41 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.7503, allocations: 159.1 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.7504, allocations: 82.81 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.7505, allocations: 80.92 kB / 1.093 GB, free: 1.609 MB / 0.8575 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.0001563/0.7506, allocations: 270.2 kB / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.7507, allocations: 109 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.7507, allocations: 117.7 kB / 1.093 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.764e-05/0.7508, allocations: 177.9 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.7509, allocations: 182 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.793e-05/0.7509, allocations: 184.9 kB / 1.094 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.7511, allocations: 417.7 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.7512, allocations: 110.4 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.7512, allocations: 103.1 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.7513, allocations: 177.9 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.7515, allocations: 185.7 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.777e-05/0.7515, allocations: 178.4 kB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.7516, allocations: 197.8 kB / 1.095 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.7517, allocations: 307 kB / 1.095 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.7518, allocations: 195 kB / 1.096 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.7519, allocations: 178.6 kB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.752, allocations: 106.5 kB / 1.096 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.752, allocations: 186 kB / 1.096 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.7521, allocations: 102.9 kB / 1.096 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.165e-05/0.7522, allocations: 123.4 kB / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.32e-07/0.7522, allocations: 0 / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000279/0.7525, allocations: 7.281 kB / 1.096 GB, free: 13.95 MB / 0.8731 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.0001312/0.7526, allocations: 174.1 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.735e-05/0.7527, allocations: 5.156 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7527, allocations: 0 / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7527, allocations: 0 / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.753, allocations: 462.6 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.7533, allocations: 232.7 kB / 1.097 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.7536, allocations: 0.6887 MB / 1.098 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.7536, allocations: 9.562 kB / 1.098 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of SimCode: time 9.11e-07/0.7536, allocations: 0 / 1.098 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.002071/0.7557, allocations: 0.7206 MB / 1.099 GB, free: 12.35 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches