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.001032/0.001032, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009492/0.009492, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 15.44 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3708, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001248/0.3721, allocations: 334 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005704/0.3727, allocations: 115.7 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3727, allocations: 3.938 kB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3729, allocations: 0 / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.3733, allocations: 27.91 kB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.646e-05/0.3734, allocations: 7.938 kB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.3735, allocations: 19.98 kB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3736, allocations: 23.98 kB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3738, allocations: 63.81 kB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.3739, allocations: 7.938 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3739, allocations: 0 / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.3739, allocations: 8 kB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.374, allocations: 11.98 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.3741, allocations: 41.58 kB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.514e-05/0.3742, allocations: 43.8 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3742, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3742, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3742, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 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.0004172/0.3746, allocations: 347.6 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3747, allocations: 11.97 kB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3747, allocations: 8.844 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3749, allocations: 180.3 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3749, allocations: 4.375 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.375, allocations: 8.312 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3752, allocations: 76.81 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3752, allocations: 4.188 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3752, allocations: 7.938 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3752, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.3753, allocations: 23.92 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.3758, allocations: 0.6051 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3759, allocations: 169.1 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.376, allocations: 80.14 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.376, allocations: 79.28 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.3761, allocations: 105.8 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3761, allocations: 4 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.491e-05/0.3762, allocations: 33.55 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.3763, allocations: 130.7 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3764, allocations: 155.8 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3765, allocations: 37.7 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3765, allocations: 88.14 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3766, allocations: 4 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.3766, allocations: 9.719 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3767, allocations: 318.8 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.3767, allocations: 3.938 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.3768, allocations: 8 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.3768, allocations: 75.28 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-05/0.3768, allocations: 79.31 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.86e-05/0.3769, allocations: 37.55 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.3769, allocations: 83.28 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.377, allocations: 75.28 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.417e-05/0.377, allocations: 154.5 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.3771, allocations: 83.27 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.327e-05/0.3771, allocations: 158.6 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3773, allocations: 91.16 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.3773, allocations: 75.28 kB / 1.063 GB, free: 1.172 MB / 0.8106 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.0001602/0.3775, allocations: 269.9 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.3776, allocations: 116.8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.3777, allocations: 112.8 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.604e-05/0.3778, allocations: 180.3 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001049/0.3779, allocations: 184.2 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/0.378, allocations: 184.2 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3783, allocations: 417.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-05/0.3784, allocations: 105 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.3784, allocations: 105 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.789e-05/0.3785, allocations: 188.2 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.3786, allocations: 180.2 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.146e-05/0.3787, allocations: 184.2 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.43e-05/0.3788, allocations: 176.3 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.379, allocations: 311.7 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3791, allocations: 190 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3793, allocations: 184.2 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.3794, allocations: 101 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3795, allocations: 176.3 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.3796, allocations: 116.8 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3797, allocations: 124.7 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002749/0.38, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8262 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.0002279/0.3802, allocations: 170.5 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.3803, allocations: 8 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3803, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3803, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.3809, allocations: 0.5341 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.3812, allocations: 209.9 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3816, allocations: 0.6965 MB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.3817, allocations: 4 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.3817, allocations: 7.438 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of SimCode: time 5.72e-07/0.3817, allocations: 0 / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.003151/0.3849, allocations: 405.9 kB / 1.068 GB, free: 11.34 MB / 0.8262 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/jenkins/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