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.008071/0.008071, allocations: 106.8 kB / 15.74 MB, free: 5.996 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.002225/0.002225, allocations: 191 kB / 16.67 MB, free: 5.926 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.317/2.317, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 55.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.00211/1.111, allocations: 0.6024 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/1.111, allocations: 112.5 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/1.111, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/1.112, allocations: 11.27 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/1.112, allocations: 25.11 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.834e-05/1.112, allocations: 8.297 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/1.112, allocations: 32.64 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/1.112, allocations: 20.22 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/1.113, allocations: 59.2 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/1.113, allocations: 18.64 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/1.113, allocations: 2.219 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/1.113, allocations: 2.25 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/1.113, allocations: 17.55 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/1.113, allocations: 17.39 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/1.113, allocations: 51.27 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.113, allocations: 0 / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/1.113, allocations: 0 / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.113, allocations: 1.578 kB / 1.089 GB, free: 4.984 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.0003263/1.113, allocations: 351 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.113, allocations: 13.84 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/1.113, allocations: 8.844 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.113, allocations: 183.5 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.114, allocations: 2.562 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/1.114, allocations: 10.45 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/1.114, allocations: 89.86 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.114, allocations: 1.938 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.114, allocations: 3.938 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/1.114, allocations: 5.125 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/1.114, allocations: 21.77 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/1.114, allocations: 0.6032 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/1.114, allocations: 174.1 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/1.114, allocations: 81.81 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/1.114, allocations: 79.22 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.114, allocations: 107.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.114, allocations: 0 / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.259e-05/1.114, allocations: 30.25 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.114, allocations: 135.3 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.115, allocations: 162 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/1.115, allocations: 29.64 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/1.115, allocations: 93.84 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/1.115, allocations: 0 / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/1.115, allocations: 12 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/1.115, allocations: 318.9 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/1.115, allocations: 5.125 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/1.115, allocations: 3.016 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/1.115, allocations: 80.09 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.115, allocations: 75.8 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.94e-05/1.115, allocations: 34.81 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.115, allocations: 81.47 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.115, allocations: 80.55 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/1.115, allocations: 152.6 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.539e-05/1.115, allocations: 76.48 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/1.115, allocations: 160 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/1.115, allocations: 89.92 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.115, allocations: 80.66 kB / 1.092 GB, free: 1.602 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.0001747/1.115, allocations: 269.7 kB / 1.092 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/1.115, allocations: 104.6 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/1.116, allocations: 118.5 kB / 1.093 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/1.116, allocations: 178.3 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.048e-05/1.116, allocations: 181.5 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.926e-05/1.116, allocations: 190.2 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.116, allocations: 413.6 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.923e-05/1.116, allocations: 110.9 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/1.116, allocations: 101.6 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/1.116, allocations: 182.5 kB / 1.094 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/1.116, allocations: 185.9 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-05/1.116, allocations: 177.9 kB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-05/1.116, allocations: 186.1 kB / 1.094 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/1.117, allocations: 322.6 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/1.117, allocations: 191.7 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/1.117, allocations: 178.4 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/1.117, allocations: 106.2 kB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/1.117, allocations: 186.3 kB / 1.095 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.117, allocations: 106.3 kB / 1.095 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001126/1.117, allocations: 123.8 kB / 1.096 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.273e-06/1.117, allocations: 1.156 kB / 1.096 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002714/1.117, allocations: 7.219 kB / 1.096 GB, free: 13.94 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.0001662/1.118, allocations: 172.2 kB / 1.096 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.011e-05/1.118, allocations: 1.859 kB / 1.096 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.118, allocations: 8 kB / 1.096 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.118, allocations: 1.125 kB / 1.096 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/1.118, allocations: 458.5 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/1.118, allocations: 203 kB / 1.096 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/1.119, allocations: 0.6859 MB / 1.097 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.511e-05/1.119, allocations: 8.5 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.119, allocations: 9.562 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.119, allocations: 3.938 kB / 1.097 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.002869/1.122, allocations: 414.8 kB / 1.098 GB, free: 12.35 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