Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.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.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007358/0.007358, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001519/0.001519, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002324/1.123, allocations: 0.6084 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005503/1.123, allocations: 111.6 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/1.124, allocations: 1.156 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/1.124, allocations: 6.281 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005137/1.124, allocations: 29.5 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.522e-05/1.124, allocations: 8.781 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/1.124, allocations: 36.67 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/1.125, allocations: 19.39 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/1.125, allocations: 59.12 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/1.125, allocations: 18.78 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/1.125, allocations: 2.219 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/1.125, allocations: 2.344 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/1.125, allocations: 12.86 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/1.125, allocations: 22.02 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/1.125, allocations: 47.52 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.125, allocations: 0 / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/1.125, allocations: 1.969 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.125, allocations: 0 / 1.089 GB, free: 4.969 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.0004488/1.126, allocations: 346.5 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/1.126, allocations: 14 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/1.126, allocations: 8.922 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/1.126, allocations: 183 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.126, allocations: 2.438 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.126, allocations: 11.31 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.126, allocations: 78.84 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.126, allocations: 192 / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.126, allocations: 5 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.126, allocations: 5.25 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/1.126, allocations: 30.22 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/1.127, allocations: 0.5989 MB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/1.127, allocations: 174.4 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/1.127, allocations: 80.75 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/1.127, allocations: 83.16 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.127, allocations: 111.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/1.127, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.48e-05/1.127, allocations: 30.08 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.127, allocations: 130.7 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/1.127, allocations: 162.9 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/1.127, allocations: 25.7 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/1.127, allocations: 92.97 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/1.127, allocations: 1 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/1.127, allocations: 11.81 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/1.128, allocations: 323.6 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/1.128, allocations: 0 / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/1.128, allocations: 3.688 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.697e-05/1.128, allocations: 83.25 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.128, allocations: 76 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.161e-05/1.128, allocations: 39.81 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.128, allocations: 80 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.128, allocations: 76.73 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.06e-05/1.128, allocations: 156.7 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.366e-05/1.128, allocations: 76.58 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/1.128, allocations: 159.8 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.128, allocations: 86.22 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.128, allocations: 80.06 kB / 1.092 GB, free: 1.594 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.0002135/1.128, allocations: 270.6 kB / 1.092 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.128, allocations: 108.7 kB / 1.093 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/1.128, allocations: 118.9 kB / 1.093 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/1.128, allocations: 181.4 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.767e-05/1.128, allocations: 182.1 kB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-05/1.129, allocations: 182.1 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/1.129, allocations: 420.4 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.129, allocations: 106.8 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/1.129, allocations: 106.5 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-05/1.129, allocations: 178.6 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/1.129, allocations: 178 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.698e-05/1.129, allocations: 185.8 kB / 1.094 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-05/1.129, allocations: 182 kB / 1.094 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/1.129, allocations: 319 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/1.129, allocations: 194.4 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/1.13, allocations: 179.5 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/1.13, allocations: 102.8 kB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.13, allocations: 186.2 kB / 1.095 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/1.13, allocations: 106 kB / 1.095 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001035/1.13, allocations: 125 kB / 1.096 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.13, allocations: 0 / 1.096 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002506/1.13, allocations: 3.25 kB / 1.096 GB, free: 13.93 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.0001498/1.13, allocations: 173.1 kB / 1.096 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.754e-05/1.13, allocations: 9.938 kB / 1.096 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.13, allocations: 8 kB / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.13, allocations: 0.8125 kB / 1.096 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/1.131, allocations: 457.2 kB / 1.096 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/1.131, allocations: 205.8 kB / 1.096 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.131, allocations: 0.6851 MB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.089e-05/1.131, allocations: 8.594 kB / 1.097 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/1.131, allocations: 9.531 kB / 1.097 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.131, allocations: 0 / 1.097 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.002656/1.134, allocations: 423.4 kB / 1.098 GB, free: 12.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches