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.009386/0.009386, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002031/0.002031, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.061/3.061, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4216, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002517/0.4243, allocations: 0.5947 MB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005353/0.4248, allocations: 111.7 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.4249, allocations: 4 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.4251, allocations: 7.875 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.4256, allocations: 31.89 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.898e-05/0.4257, allocations: 12 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4258, allocations: 27.97 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.426, allocations: 23.92 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4261, allocations: 47.91 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.4262, allocations: 23.91 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4262, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.4262, allocations: 4 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.4263, allocations: 11.98 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.4263, allocations: 15.88 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.4265, allocations: 47.77 kB / 1.227 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.4265, allocations: 3.984 kB / 1.227 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4265, allocations: 0 / 1.227 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4265, allocations: 0 / 1.227 GB, free: 8.246 MB / 0.9825 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.000431/0.427, allocations: 355.2 kB / 1.227 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.427, allocations: 12.03 kB / 1.227 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4271, allocations: 8.922 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.4273, allocations: 196.1 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4273, allocations: 384 / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4273, allocations: 4.375 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4275, allocations: 80.8 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4275, allocations: 4.188 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4275, allocations: 11.92 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4275, allocations: 4 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.4276, allocations: 23.92 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.4282, allocations: 0.6012 MB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4283, allocations: 169.1 kB / 1.228 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.4283, allocations: 80.14 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4284, allocations: 75.28 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.4284, allocations: 109.8 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.4284, allocations: 0 / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.957e-05/0.4285, allocations: 37.66 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.4286, allocations: 130.7 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4288, allocations: 163.6 kB / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4288, allocations: 25.7 kB / 1.229 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.4289, allocations: 92.14 kB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.4289, allocations: 0 / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.4289, allocations: 13.72 kB / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4291, allocations: 322.8 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-06/0.4291, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.4291, allocations: 8 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.4292, allocations: 79.22 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/0.4292, allocations: 75.28 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.997e-05/0.4293, allocations: 45.58 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.4293, allocations: 79.28 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.4294, allocations: 75.28 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.441e-05/0.4294, allocations: 158.5 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-05/0.4295, allocations: 83.31 kB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-05/0.4295, allocations: 158.5 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.4297, allocations: 83.16 kB / 1.23 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.4297, allocations: 79.28 kB / 1.23 GB, free: 4.609 MB / 0.9825 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.0001314/0.4299, allocations: 268.9 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.43, allocations: 112.9 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.43, allocations: 117 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/0.4301, allocations: 180.2 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.98e-05/0.4302, allocations: 184.3 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/0.4302, allocations: 188.1 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4305, allocations: 417.1 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/0.4306, allocations: 109 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.4307, allocations: 108.9 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.395e-05/0.4307, allocations: 176.3 kB / 1.232 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.4308, allocations: 180.3 kB / 1.232 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.723e-05/0.4309, allocations: 180.2 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.879e-05/0.431, allocations: 176.3 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.4312, allocations: 323.7 kB / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.4313, allocations: 182 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.4314, allocations: 184.2 kB / 1.233 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.4315, allocations: 113 kB / 1.233 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.4316, allocations: 184.2 kB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.4316, allocations: 108.9 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.885e-05/0.4317, allocations: 121.6 kB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4317, allocations: 0 / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002855/0.432, allocations: 0 / 1.233 GB, free: 0.8477 MB / 0.9825 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.0001767/0.4322, allocations: 178.5 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.4323, allocations: 0 / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4323, allocations: 7.938 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.4323, allocations: 0 / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4327, allocations: 467.6 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.433, allocations: 208.1 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4333, allocations: 0.6885 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.4333, allocations: 11.98 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.4334, allocations: 11.44 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.4334, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.00285/0.4362, allocations: 408.4 kB / 1.235 GB, free: 14.83 MB / 0.9981 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