Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001575/0.001575, allocations: 109 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.00173/0.00173, allocations: 195 kB / 17.31 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.98 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3293, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002316/0.3317, allocations: 0.5967 MB / 0.9517 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004386/0.3321, allocations: 119.7 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.3322, allocations: 3.938 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3323, allocations: 11.92 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.3327, allocations: 23.92 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.926e-05/0.3328, allocations: 7.984 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.3329, allocations: 31.91 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.333, allocations: 23.98 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3331, allocations: 50.02 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3332, allocations: 15.92 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3332, allocations: 4 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.3332, allocations: 3.938 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.3333, allocations: 19.97 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3333, allocations: 23.88 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3335, allocations: 43.81 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3335, allocations: 4 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3335, allocations: 0 / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.3335, allocations: 0 / 0.9521 GB, free: 7.039 MB / 0.7325 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.000471/0.334, allocations: 347.3 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.334, allocations: 12.03 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3341, allocations: 4.844 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3343, allocations: 192.2 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3343, allocations: 384 / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3343, allocations: 8.375 kB / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3346, allocations: 80.8 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3346, allocations: 192 / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3346, allocations: 3.938 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.3346, allocations: 4 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.3347, allocations: 27.92 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.3355, allocations: 0.5972 MB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3357, allocations: 169.1 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.3357, allocations: 80.14 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.3358, allocations: 79.28 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.3359, allocations: 113.8 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3359, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.676e-05/0.336, allocations: 37.59 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.3362, allocations: 126.7 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3364, allocations: 155.4 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3364, allocations: 25.7 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3365, allocations: 100.1 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3365, allocations: 0 / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3365, allocations: 13.72 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3367, allocations: 318.8 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.3367, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.3367, allocations: 11.92 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.3368, allocations: 79.22 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-05/0.3368, allocations: 75.28 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001022/0.3369, allocations: 37.61 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.337, allocations: 91.25 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/0.3371, allocations: 75.28 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-05/0.3371, allocations: 158.5 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.432e-05/0.3372, allocations: 75.28 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.387e-05/0.3373, allocations: 162.5 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3375, allocations: 83.2 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.3375, allocations: 79.28 kB / 0.9554 GB, free: 3.422 MB / 0.7325 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.0002029/0.3377, allocations: 272.4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.3378, allocations: 112.8 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.3379, allocations: 112.9 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.124e-05/0.338, allocations: 180.2 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/0.3382, allocations: 184.2 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001415/0.3383, allocations: 180.2 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.3387, allocations: 425.4 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-05/0.3388, allocations: 101 kB / 0.9569 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.3388, allocations: 109 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.339, allocations: 180.2 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.3392, allocations: 184.3 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000159/0.3393, allocations: 180.2 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001044/0.3394, allocations: 184.2 kB / 0.9577 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.3398, allocations: 311.6 kB / 0.958 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.34, allocations: 198 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.3402, allocations: 180.3 kB / 0.9583 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3403, allocations: 101 kB / 0.9584 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3405, allocations: 180.2 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.3405, allocations: 104.9 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001534/0.3407, allocations: 129.6 kB / 0.9588 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3407, allocations: 4 kB / 0.9588 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004609/0.3412, allocations: 4 kB / 0.9588 GB, free: 15.66 MB / 0.7481 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.0002232/0.3414, allocations: 174.5 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.3415, allocations: 3.938 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.3415, allocations: 0 / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-06/0.3415, allocations: 3.938 kB / 0.959 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.342, allocations: 465.8 kB / 0.9595 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.3423, allocations: 204.3 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3428, allocations: 0.6922 MB / 0.9603 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.3428, allocations: 4 kB / 0.9603 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3429, allocations: 7.438 kB / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3429, allocations: 0 / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.002723/0.3456, allocations: 415 kB / 0.9607 GB, free: 13.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches