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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001669/0.001669, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.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.52/2.52, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8119 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7464, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001986/0.7485, allocations: 0.6561 MB / 0.9496 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.7489, allocations: 109.2 kB / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.7489, allocations: 0 / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.749, allocations: 7.938 kB / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.7494, allocations: 27.44 kB / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.858e-05/0.7495, allocations: 9.109 kB / 0.9497 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.7496, allocations: 27.77 kB / 0.9497 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.7497, allocations: 20.16 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.7498, allocations: 48.83 kB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.7499, allocations: 20.16 kB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.7499, allocations: 2.312 kB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.7499, allocations: 1.031 kB / 0.9498 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.75, allocations: 18.33 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.75, allocations: 16.06 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.7501, allocations: 47.25 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7501, allocations: 1.031 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7501, allocations: 0 / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.7501, allocations: 0 / 0.9499 GB, free: 8.457 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.0003043/0.7504, allocations: 356 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7505, allocations: 10.16 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.7505, allocations: 7.5 kB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.7506, allocations: 177.6 kB / 0.9504 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7507, allocations: 6.281 kB / 0.9504 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.7507, allocations: 6.172 kB / 0.9505 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.7508, allocations: 89.45 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.7508, allocations: 1.125 kB / 0.9505 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7509, allocations: 7.938 kB / 0.9505 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.7509, allocations: 1.219 kB / 0.9505 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.7509, allocations: 25.77 kB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.7513, allocations: 0.5954 MB / 0.9512 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.7514, allocations: 179.1 kB / 0.9513 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.7514, allocations: 80.14 kB / 0.9514 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.7514, allocations: 75.28 kB / 0.9515 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.7515, allocations: 109.8 kB / 0.9516 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7515, allocations: 0 / 0.9516 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.541e-05/0.7515, allocations: 41.55 kB / 0.9516 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.7516, allocations: 130.7 kB / 0.9517 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.7518, allocations: 158.9 kB / 0.9519 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.7518, allocations: 26.83 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.7518, allocations: 96.45 kB / 0.952 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.7518, allocations: 0 / 0.952 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.7519, allocations: 15.05 kB / 0.952 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.752, allocations: 317.6 kB / 0.9523 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.752, allocations: 0 / 0.9523 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.752, allocations: 6.812 kB / 0.9523 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.752, allocations: 75.28 kB / 0.9524 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.752, allocations: 79.3 kB / 0.9525 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.793e-05/0.7521, allocations: 39.2 kB / 0.9525 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7521, allocations: 83.47 kB / 0.9526 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.7522, allocations: 78.11 kB / 0.9527 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.878e-05/0.7522, allocations: 156 kB / 0.9528 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.278e-05/0.7522, allocations: 79.22 kB / 0.9529 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/0.7523, allocations: 155.9 kB / 0.953 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.7524, allocations: 94.19 kB / 0.9531 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.7525, allocations: 75.28 kB / 0.9532 GB, free: 5.008 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 9.123e-05/0.7526, allocations: 267 kB / 0.9535 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.7526, allocations: 115.4 kB / 0.9536 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.7526, allocations: 116.2 kB / 0.9537 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/0.7527, allocations: 177.5 kB / 0.9539 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/0.7527, allocations: 185.7 kB / 0.954 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.7528, allocations: 185.3 kB / 0.9542 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7529, allocations: 413.5 kB / 0.9546 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.753, allocations: 110.2 kB / 0.9547 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.753, allocations: 102.2 kB / 0.9548 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.181e-05/0.753, allocations: 189.3 kB / 0.955 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.7531, allocations: 180.3 kB / 0.9552 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.225e-05/0.7531, allocations: 181.3 kB / 0.9553 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-05/0.7532, allocations: 193.4 kB / 0.9555 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.7533, allocations: 313.4 kB / 0.9558 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.7533, allocations: 180.9 kB / 0.956 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.7534, allocations: 181.5 kB / 0.9562 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.7534, allocations: 110.2 kB / 0.9563 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.7535, allocations: 181.6 kB / 0.9564 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.7535, allocations: 110.9 kB / 0.9565 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.491e-05/0.7536, allocations: 124.2 kB / 0.9567 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7536, allocations: 0 / 0.9567 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002598/0.7539, allocations: 3.094 kB / 0.9567 GB, free: 1.312 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 0.0001265/0.754, allocations: 175.4 kB / 0.9568 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.167e-05/0.754, allocations: 1.531 kB / 0.9568 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.754, allocations: 0 / 0.9568 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7541, allocations: 1.562 kB / 0.9568 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.7544, allocations: 0.5213 MB / 0.9573 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.7547, allocations: 220.5 kB / 0.9576 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.7549, allocations: 0.6864 MB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.7549, allocations: 4.125 kB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.755, allocations: 8.812 kB / 0.9582 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.755, allocations: 3.938 kB / 0.9582 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of Templates: time 0.002764/0.7577, allocations: 418 kB / 0.9586 GB, free: 15.48 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/jenkins/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