Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001733/0.001733, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001975/0.001975, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 68.53 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.342, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002144/0.3442, allocations: 0.5995 MB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004534/0.3446, allocations: 115.7 kB / 1.019 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.3447, allocations: 3.938 kB / 1.019 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.3449, allocations: 7.938 kB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.3453, allocations: 27.92 kB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.454e-05/0.3454, allocations: 11.98 kB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.3455, allocations: 27.92 kB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3456, allocations: 27.97 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3458, allocations: 51.91 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3458, allocations: 15.92 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3459, allocations: 4 kB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3459, allocations: 0 / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.3459, allocations: 15.98 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.346, allocations: 15.88 kB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.3461, allocations: 47.8 kB / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3461, allocations: 0 / 1.019 GB, free: 9.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3461, allocations: 3.938 kB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3461, allocations: 4 kB / 1.019 GB, free: 9.672 MB / 0.795 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.0003655/0.3465, allocations: 347.6 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3465, allocations: 8.922 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.3466, allocations: 16.78 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.3468, allocations: 180.2 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3468, allocations: 4.375 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3468, allocations: 8.375 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.347, allocations: 76.81 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.347, allocations: 4.172 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.347, allocations: 3.938 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.347, allocations: 0 / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.3471, allocations: 31.92 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.3476, allocations: 0.5972 MB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.3477, allocations: 173.1 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.3477, allocations: 80.14 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3478, allocations: 83.27 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.3478, allocations: 109.8 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3478, allocations: 0 / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.668e-05/0.3479, allocations: 33.7 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.348, allocations: 126.7 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3482, allocations: 157.8 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3482, allocations: 25.7 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.3482, allocations: 92.14 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.3483, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3483, allocations: 9.719 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3484, allocations: 330.8 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-06/0.3484, allocations: 0 / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.3485, allocations: 4 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.3485, allocations: 75.28 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/0.3485, allocations: 75.28 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.051e-05/0.3486, allocations: 47.06 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.3486, allocations: 79.28 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.3487, allocations: 79.28 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.189e-05/0.3488, allocations: 158.5 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.251e-05/0.3488, allocations: 75.28 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.676e-05/0.3488, allocations: 162.5 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.349, allocations: 83.22 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.3491, allocations: 79.22 kB / 1.022 GB, free: 6.062 MB / 0.795 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.0001212/0.3492, allocations: 276.4 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.3492, allocations: 112.8 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.3493, allocations: 112.9 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.53e-05/0.3494, allocations: 184.2 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/0.3494, allocations: 180.3 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.749e-05/0.3495, allocations: 180.2 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3498, allocations: 425.4 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/0.3498, allocations: 101 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.3499, allocations: 116.9 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.385e-05/0.35, allocations: 176.3 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.35, allocations: 176.3 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.619e-05/0.3501, allocations: 188.2 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.206e-05/0.3502, allocations: 180.3 kB / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3503, allocations: 315.6 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.3504, allocations: 190 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.3505, allocations: 184.2 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.3506, allocations: 105 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.3506, allocations: 184.2 kB / 1.025 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.3507, allocations: 104.9 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.3508, allocations: 122.1 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3508, allocations: 0 / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002654/0.3511, allocations: 4 kB / 1.026 GB, free: 2.301 MB / 0.795 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.0001426/0.3512, allocations: 178.5 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.3513, allocations: 8 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3513, allocations: 0 / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.3513, allocations: 3.938 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3517, allocations: 451.7 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.352, allocations: 242.5 kB / 1.026 GB, free: 1.387 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3523, allocations: 0.6807 MB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3523, allocations: 11.44 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of SimCode: time 4.4e-07/0.3523, allocations: 0 / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of Templates: time 0.002321/0.3547, allocations: 0.7197 MB / 1.028 GB, free: 15.95 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches