Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001247/0.001247, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001209/0.001209, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7228, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001619/0.7244, allocations: 0.5961 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.7248, allocations: 115.7 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.7248, allocations: 0 / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.7249, allocations: 7.938 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.7252, allocations: 23.92 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.819e-05/0.7253, allocations: 11.98 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.7254, allocations: 31.86 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.7255, allocations: 23.98 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.7256, allocations: 51.94 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.7257, allocations: 11.94 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.7257, allocations: 7.938 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.7257, allocations: 0 / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.7258, allocations: 15.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.7258, allocations: 19.88 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.7259, allocations: 51.73 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.7259, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7259, allocations: 4 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7259, allocations: 4 kB / 1.209 GB, free: 12.61 MB / 0.9356 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.0003102/0.7262, allocations: 350.9 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7263, allocations: 12.03 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.7263, allocations: 0.9375 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.7265, allocations: 194.3 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.7265, allocations: 384 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.7265, allocations: 4.375 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.7266, allocations: 88.75 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.7267, allocations: 4.172 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.7267, allocations: 3.938 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7267, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.7267, allocations: 23.98 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.7272, allocations: 0.6011 MB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.7272, allocations: 173.1 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.7273, allocations: 80.14 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.7273, allocations: 75.28 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.7274, allocations: 113.8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7274, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.963e-05/0.7274, allocations: 33.61 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.7275, allocations: 126.7 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.7276, allocations: 159.6 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.7277, allocations: 25.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.7277, allocations: 96.12 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.7277, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.7277, allocations: 13.72 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.7278, allocations: 322.8 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-06/0.7279, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.7279, allocations: 7.984 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.7279, allocations: 75.28 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.7279, allocations: 75.28 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.58e-05/0.728, allocations: 29.7 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.728, allocations: 83.28 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.7281, allocations: 79.22 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.383e-05/0.7281, allocations: 158.6 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.323e-05/0.7282, allocations: 83.2 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/0.7282, allocations: 154.6 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.7284, allocations: 85.66 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.7284, allocations: 83.16 kB / 1.213 GB, free: 8.996 MB / 0.9356 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.000117/0.7285, allocations: 276.4 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.7286, allocations: 105 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.7286, allocations: 116.8 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/0.7287, allocations: 180.2 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/0.7287, allocations: 180.3 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.7288, allocations: 188.1 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.729, allocations: 421.2 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/0.7291, allocations: 112.9 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.7291, allocations: 101 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.424e-05/0.7292, allocations: 176.6 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.7292, allocations: 180.2 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.613e-05/0.7293, allocations: 188.2 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.167e-05/0.7294, allocations: 184.2 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.7295, allocations: 307.7 kB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.7296, allocations: 193.9 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.7296, allocations: 184.3 kB / 1.216 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.7297, allocations: 108.9 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.7298, allocations: 176.3 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.7298, allocations: 108.9 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.648e-05/0.7299, allocations: 123.2 kB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7299, allocations: 0 / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002727/0.7302, allocations: 4 kB / 1.216 GB, free: 5.23 MB / 0.9356 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.000137/0.7303, allocations: 178.5 kB / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.94e-05/0.7304, allocations: 0 / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7304, allocations: 4 kB / 1.216 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7304, allocations: 0 / 1.216 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.7307, allocations: 465 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.731, allocations: 237.9 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7312, allocations: 0.6846 MB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.7313, allocations: 11.38 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.7313, allocations: 4 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.001749/0.733, allocations: 0.7094 MB / 1.218 GB, free: 2.895 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches