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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001261/0.001261, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.31 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001953/0.3432, allocations: 0.6494 MB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.3435, allocations: 115.7 kB / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.3436, allocations: 8 kB / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.3437, allocations: 7.938 kB / 1.053 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.344, allocations: 19.97 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.04e-05/0.344, allocations: 4 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.3441, allocations: 27.92 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3442, allocations: 27.97 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3444, allocations: 55.89 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.3444, allocations: 11.94 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3444, allocations: 7.938 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.3445, allocations: 0 / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.3445, allocations: 15.92 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.3445, allocations: 23.86 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.3446, allocations: 35.88 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3446, allocations: 0 / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.31e-07/0.3446, allocations: 7.938 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.3446, allocations: 0 / 1.053 GB, free: 7.832 MB / 0.8106 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.0003292/0.345, allocations: 359.6 kB / 1.053 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.345, allocations: 8.031 kB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3451, allocations: 8.844 kB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3452, allocations: 180.3 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3452, allocations: 384 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3452, allocations: 4.375 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3454, allocations: 84.75 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3454, allocations: 192 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3454, allocations: 7.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3454, allocations: 3.984 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.3455, allocations: 19.98 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3459, allocations: 0.6089 MB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.346, allocations: 173.1 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.346, allocations: 80.14 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3461, allocations: 75.28 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.3461, allocations: 105.8 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3461, allocations: 4 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.3462, allocations: 33.7 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3463, allocations: 130.6 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3465, allocations: 155.8 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3465, allocations: 29.69 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.3465, allocations: 92.14 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3465, allocations: 0 / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.3466, allocations: 17.66 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3468, allocations: 326.8 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.3468, allocations: 4 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.3468, allocations: 0 / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.3468, allocations: 79.28 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.3469, allocations: 75.28 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.119e-05/0.3469, allocations: 37.61 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.347, allocations: 79.28 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.347, allocations: 83.25 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.3472, allocations: 154.5 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.3472, allocations: 87.33 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.261e-05/0.3472, allocations: 154.6 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3474, allocations: 79.22 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3474, allocations: 87.16 kB / 1.056 GB, free: 4.211 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.0001433/0.3476, allocations: 272.4 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.3476, allocations: 108.9 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.3477, allocations: 116.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/0.3478, allocations: 184.3 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.837e-05/0.3478, allocations: 176.3 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.3479, allocations: 192.1 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3483, allocations: 413.2 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.3483, allocations: 108.9 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.3483, allocations: 101 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.827e-05/0.3484, allocations: 176.3 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.3485, allocations: 188.2 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/0.3486, allocations: 180.3 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.638e-05/0.3487, allocations: 180.2 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.3488, allocations: 315.6 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.3489, allocations: 186 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.3489, allocations: 184.3 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.349, allocations: 108.9 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.3491, allocations: 176.3 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.3491, allocations: 120.8 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.3492, allocations: 119.2 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002702/0.3495, allocations: 0 / 1.06 GB, free: 468 kB / 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.0001193/0.3496, allocations: 182.5 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.61e-05/0.3497, allocations: 0 / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3497, allocations: 0 / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.3497, allocations: 0 / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.35, allocations: 0.5289 MB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.3503, allocations: 210 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3506, allocations: 0.6956 MB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.3506, allocations: 4 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3507, allocations: 11.44 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3507, allocations: 0 / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.002102/0.3528, allocations: 415 kB / 1.062 GB, free: 14.37 MB / 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