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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001642/0.001642, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.88 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6673, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001699/0.669, allocations: 0.6561 MB / 0.9502 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003335/0.6694, allocations: 117.3 kB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.6694, allocations: 0 / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.972e-05/0.6695, allocations: 5.219 kB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.6698, allocations: 18.14 kB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.09e-05/0.6698, allocations: 5.219 kB / 0.9504 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.6699, allocations: 39.95 kB / 0.9504 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.67, allocations: 19.94 kB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.6701, allocations: 48.45 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.6702, allocations: 16.8 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.6702, allocations: 2.125 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.6702, allocations: 1.562 kB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.6703, allocations: 18.86 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.6703, allocations: 19.55 kB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.934e-05/0.6704, allocations: 30.39 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6704, allocations: 7.984 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.6704, allocations: 1.125 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.6704, allocations: 0 / 0.9506 GB, free: 8.395 MB / 0.7169 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.0002574/0.6706, allocations: 356.7 kB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6707, allocations: 7.875 kB / 0.9509 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.6707, allocations: 12.28 kB / 0.9509 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.6709, allocations: 181.1 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.6709, allocations: 1.969 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6709, allocations: 3.219 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.671, allocations: 89.97 kB / 0.9512 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.671, allocations: 3.938 kB / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6711, allocations: 1.438 kB / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.6711, allocations: 5.359 kB / 0.9512 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.6711, allocations: 24.55 kB / 0.9512 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.6714, allocations: 0.6022 MB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.6715, allocations: 166.5 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.6715, allocations: 85.11 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.6715, allocations: 75.28 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.6715, allocations: 115.2 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.6715, allocations: 0 / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.193e-05/0.6716, allocations: 32.98 kB / 0.9523 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.6716, allocations: 126.7 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.6717, allocations: 164.5 kB / 0.9525 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.6718, allocations: 25.7 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.6718, allocations: 91.3 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.6718, allocations: 1.594 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.6718, allocations: 15.25 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.6719, allocations: 320.1 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-06/0.6719, allocations: 5.281 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.6719, allocations: 5.188 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.096e-05/0.6719, allocations: 76.41 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.6719, allocations: 75.31 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.946e-05/0.672, allocations: 42.81 kB / 0.9532 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.672, allocations: 84.28 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.672, allocations: 82.3 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.6721, allocations: 158.5 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-06/0.6721, allocations: 76.84 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6721, allocations: 159.8 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6722, allocations: 76.72 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.6722, allocations: 76.66 kB / 0.9539 GB, free: 4.953 MB / 0.7169 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 6.147e-05/0.6723, allocations: 278.3 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.6723, allocations: 107.8 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.6724, allocations: 121 kB / 0.9543 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.6724, allocations: 180.2 kB / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.6724, allocations: 181.5 kB / 0.9547 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.6724, allocations: 185.6 kB / 0.9549 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.6726, allocations: 417.5 kB / 0.9553 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6726, allocations: 102.5 kB / 0.9554 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.6726, allocations: 108.9 kB / 0.9555 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.6727, allocations: 185.5 kB / 0.9556 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.6727, allocations: 189.6 kB / 0.9558 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.095e-05/0.6727, allocations: 177.6 kB / 0.956 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.391e-05/0.6728, allocations: 185.6 kB / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.6728, allocations: 309.2 kB / 0.9565 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.6729, allocations: 188.8 kB / 0.9566 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.6729, allocations: 181.6 kB / 0.9568 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.673, allocations: 110.3 kB / 0.9569 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.673, allocations: 184.1 kB / 0.9571 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.673, allocations: 102.4 kB / 0.9572 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.6731, allocations: 120 kB / 0.9573 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6731, allocations: 0 / 0.9573 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.6733, allocations: 6.75 kB / 0.9573 GB, free: 1.254 MB / 0.7169 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 9.221e-05/0.6734, allocations: 176.4 kB / 0.9575 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.771e-05/0.6735, allocations: 5.312 kB / 0.9575 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6735, allocations: 0 / 0.9575 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.6735, allocations: 1.375 kB / 0.9575 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.6738, allocations: 0.5265 MB / 0.958 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.674, allocations: 247.1 kB / 0.9582 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.6742, allocations: 0.6825 MB / 0.9589 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.6742, allocations: 8.812 kB / 0.9589 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6742, allocations: 3.938 kB / 0.9589 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.001802/0.676, allocations: 0.7017 MB / 0.9596 GB, free: 15.25 MB / 0.7325 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