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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001671/0.001671, allocations: 111.8 kB / 16.42 MB, free: 5.918 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.002341/0.002341, allocations: 191.7 kB / 17.35 MB, free: 5.555 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.482/1.482, 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 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.89 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9508/0.9524, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001882/0.9543, allocations: 0.5952 MB / 1.227 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.9547, allocations: 103.7 kB / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.9547, allocations: 3.938 kB / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.9549, allocations: 7.922 kB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.9552, allocations: 27.92 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.288e-05/0.9553, allocations: 7.984 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.9554, allocations: 27.91 kB / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.9555, allocations: 27.98 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.9556, allocations: 51.91 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.9557, allocations: 15.92 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.9557, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.9557, allocations: 4 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.9558, allocations: 19.97 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.9558, allocations: 19.88 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.092e-05/0.9559, allocations: 47.47 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9559, allocations: 0 / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9559, allocations: 0 / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.956, allocations: 0 / 1.227 GB, free: 12.56 MB / 0.9512 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.0003596/0.9563, allocations: 360 kB / 1.228 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9564, allocations: 11.97 kB / 1.228 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.9564, allocations: 4.938 kB / 1.228 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.9566, allocations: 184.2 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.9566, allocations: 8.375 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.9566, allocations: 4.375 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.9567, allocations: 76.8 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9568, allocations: 8.109 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.9568, allocations: 11.94 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9568, allocations: 0 / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.9568, allocations: 19.98 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.9573, allocations: 0.6051 MB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.9574, allocations: 169.1 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.9575, allocations: 84.08 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.9575, allocations: 79.28 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.9575, allocations: 105.8 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9575, allocations: 0 / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.069e-05/0.9576, allocations: 33.66 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9577, allocations: 55.39 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.9578, allocations: 155.7 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.9578, allocations: 25.7 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.9579, allocations: 104.1 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.9579, allocations: 0 / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.9579, allocations: 13.72 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9581, allocations: 314.8 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.9581, allocations: 7.938 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.9581, allocations: 7.938 kB / 1.23 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.9582, allocations: 79.27 kB / 1.23 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/0.9582, allocations: 75.28 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.47e-05/0.9582, allocations: 41.69 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.9583, allocations: 79.28 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.9583, allocations: 75.28 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-05/0.9584, allocations: 154.5 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.9584, allocations: 79.28 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.105e-05/0.9585, allocations: 154.5 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.9586, allocations: 91.2 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.9587, allocations: 88.39 kB / 1.231 GB, free: 9.004 MB / 0.9512 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.0001233/0.9588, allocations: 264.9 kB / 1.231 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.9589, allocations: 116.9 kB / 1.231 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.9589, allocations: 112.8 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/0.959, allocations: 180.2 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.959, allocations: 105 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.9591, allocations: 198 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.9592, allocations: 184.2 kB / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.9593, allocations: 101 kB / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9593, allocations: 180.2 kB / 1.232 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.173e-05/0.9594, allocations: 259.5 kB / 1.232 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001591/0.9596, allocations: 395.3 kB / 1.233 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.076e-05/0.9597, allocations: 104.9 kB / 1.233 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.9597, allocations: 129 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of Backend: time 3.6e-07/0.9598, allocations: 0 / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.9601, allocations: 78.41 kB / 1.233 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005476/0.9606, allocations: 0.9592 MB / 1.234 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of Templates: time 0.002434/0.9631, allocations: 427.6 kB / 1.234 GB, free: 5.09 MB / 0.9512 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