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 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.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.001738/0.001738, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002418/0.002418, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 62.67 kB / 0.9116 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3698, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002067/0.3719, allocations: 0.6689 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.3723, allocations: 125.8 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.3724, allocations: 0 / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.3725, allocations: 0 / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.3729, allocations: 23.92 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.697e-05/0.373, allocations: 11.98 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.3731, allocations: 23.98 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3732, allocations: 23.98 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3734, allocations: 63.83 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.3734, allocations: 15.92 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3735, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3735, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.3735, allocations: 15.98 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3736, allocations: 19.88 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3737, allocations: 51.8 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3737, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3737, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3737, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8262 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.0004211/0.3741, allocations: 357.2 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3742, allocations: 8.031 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.3742, allocations: 4.938 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3744, allocations: 188.2 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3745, allocations: 384 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3745, allocations: 8.375 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3747, allocations: 72.81 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3747, allocations: 192 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3747, allocations: 7.938 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3747, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.3748, allocations: 27.92 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3753, allocations: 0.605 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.3754, allocations: 165.1 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.3754, allocations: 80.14 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.3755, allocations: 87.27 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.3756, allocations: 105.8 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.3756, allocations: 3.984 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.193e-05/0.3757, allocations: 41.48 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.3757, allocations: 126.7 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3759, allocations: 155.5 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3759, allocations: 29.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.376, allocations: 96.12 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.376, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.376, allocations: 13.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3763, allocations: 322.8 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-06/0.3763, allocations: 4 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.3763, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.3763, allocations: 75.28 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.314e-05/0.3764, allocations: 79.31 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.095e-05/0.3765, allocations: 37.64 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.3765, allocations: 79.28 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.3765, allocations: 83.22 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.3766, allocations: 154.5 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.992e-05/0.3767, allocations: 83.27 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.865e-05/0.3767, allocations: 150.6 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.3769, allocations: 95.06 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.377, allocations: 79.44 kB / 1.072 GB, free: 6.098 MB / 0.8262 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.0001425/0.3771, allocations: 268.4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.3772, allocations: 108.9 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.3773, allocations: 120.7 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.871e-05/0.3774, allocations: 188.3 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-05/0.3774, allocations: 180.2 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.886e-05/0.3775, allocations: 184.2 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3778, allocations: 421.1 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.3778, allocations: 101 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3779, allocations: 101 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.028e-05/0.378, allocations: 184.2 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.3781, allocations: 184.2 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.3781, allocations: 180.2 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.3782, allocations: 180.3 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.3784, allocations: 315.6 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.3785, allocations: 190 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.3786, allocations: 184.2 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.3786, allocations: 101 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.3787, allocations: 180.2 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.3788, allocations: 116.9 kB / 1.075 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.872e-05/0.3789, allocations: 124.5 kB / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 1.075 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002731/0.3791, allocations: 0 / 1.075 GB, free: 2.336 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.0001711/0.3793, allocations: 178.5 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.588e-05/0.3794, allocations: 0 / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3794, allocations: 0 / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.3794, allocations: 3.938 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3798, allocations: 465.7 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.3801, allocations: 220.2 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3804, allocations: 0.6846 MB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.3805, allocations: 11.94 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.3805, allocations: 11.44 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3805, allocations: 0 / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of Templates: time 0.002733/0.3832, allocations: 423.8 kB / 1.077 GB, free: 312 kB / 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