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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001298/0.001298, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001223/0.001223, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.12 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002015/0.3426, allocations: 0.6025 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.343, allocations: 122.1 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.3431, allocations: 0 / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3432, allocations: 8 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3435, allocations: 23.92 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.3436, allocations: 11.92 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.3437, allocations: 27.97 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3438, allocations: 27.98 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.344, allocations: 55.89 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.344, allocations: 7.938 kB / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.344, allocations: 4 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.3441, allocations: 4 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.3441, allocations: 19.86 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3441, allocations: 23.86 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.3442, allocations: 47.75 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3442, allocations: 0 / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3442, allocations: 0 / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3443, allocations: 4 kB / 1.028 GB, free: 1.047 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.0003548/0.3446, allocations: 348.6 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3447, allocations: 12.03 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.3447, allocations: 8.844 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3449, allocations: 180.3 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.3449, allocations: 384 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3449, allocations: 8.375 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3451, allocations: 80.75 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3451, allocations: 192 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3451, allocations: 3.938 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3451, allocations: 4 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.3452, allocations: 27.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.3456, allocations: 0.6011 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.3457, allocations: 177 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.3458, allocations: 80.14 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3458, allocations: 83.27 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3459, allocations: 105.8 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3459, allocations: 4 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.346, allocations: 33.64 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.346, allocations: 126.7 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3462, allocations: 153.8 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3462, allocations: 25.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.3463, allocations: 96.12 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.3463, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.3463, allocations: 13.72 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3464, allocations: 326.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.3464, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.3465, allocations: 4 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3465, allocations: 75.28 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.3465, allocations: 75.28 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.505e-05/0.3466, allocations: 33.61 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.3466, allocations: 89.41 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.3467, allocations: 79.28 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.009e-05/0.3467, allocations: 154.6 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.73e-05/0.3468, allocations: 83.2 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.954e-05/0.3468, allocations: 162.5 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.347, allocations: 83.16 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.347, allocations: 75.28 kB / 1.031 GB, free: 13.44 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.0001326/0.3472, allocations: 276.4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.3473, allocations: 108.9 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.3473, allocations: 120.8 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/0.3474, allocations: 176.3 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-05/0.3475, allocations: 180.2 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.301e-05/0.3475, allocations: 180.2 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3478, allocations: 425.5 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/0.3479, allocations: 104.9 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3479, allocations: 109 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/0.348, allocations: 180.2 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.3481, allocations: 188.2 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.153e-05/0.3482, allocations: 184.2 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.056e-05/0.3482, allocations: 184.2 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3484, allocations: 315.6 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.3485, allocations: 190 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.3486, allocations: 180.3 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.3487, allocations: 108.9 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.3488, allocations: 176.3 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3488, allocations: 112.8 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.613e-05/0.3489, allocations: 119.2 kB / 1.034 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3489, allocations: 4 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002814/0.3492, allocations: 0 / 1.034 GB, free: 9.672 MB / 0.8106 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.0001632/0.3494, allocations: 178.5 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.051e-05/0.3494, allocations: 0 / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3494, allocations: 0 / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3495, allocations: 0 / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3499, allocations: 463.7 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.3502, allocations: 204.3 kB / 1.035 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3506, allocations: 0.6885 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3507, allocations: 4 kB / 1.036 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3507, allocations: 7.438 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.3507, allocations: 0 / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of Templates: time 0.002546/0.3533, allocations: 417.7 kB / 1.036 GB, free: 7.676 MB / 0.8106 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 -s cvode -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/jenkins1/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