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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.868/1.868, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.89/2.89, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 65.09 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002312/0.3497, allocations: 0.5965 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004394/0.3501, allocations: 123.7 kB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.3502, allocations: 3.938 kB / 1.064 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.956e-05/0.3503, allocations: 3.938 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.3507, allocations: 27.91 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.099e-05/0.3507, allocations: 8 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.3508, allocations: 23.98 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3509, allocations: 27.97 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3511, allocations: 55.84 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.3511, allocations: 11.92 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3512, allocations: 4 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.3512, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.3512, allocations: 15.98 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.3513, allocations: 19.88 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.3513, allocations: 47.8 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3514, allocations: 8 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3514, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3514, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.8262 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.0003277/0.3517, allocations: 347.6 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3518, allocations: 8.031 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.3518, allocations: 46.67 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3518, allocations: 4.938 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.352, allocations: 184.2 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.352, allocations: 384 / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3521, allocations: 8.359 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3522, allocations: 84.75 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.3523, allocations: 3.938 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3523, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3523, allocations: 4 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.3523, allocations: 23.92 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.3529, allocations: 0.6011 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.353, allocations: 169.1 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.353, allocations: 80.14 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.353, allocations: 79.22 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.3531, allocations: 113.8 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3531, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.442e-05/0.3532, allocations: 35.41 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3533, allocations: 130.7 kB / 1.066 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3534, allocations: 163.4 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3535, allocations: 25.7 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3535, allocations: 96.12 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.3535, allocations: 4 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3536, allocations: 13.72 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3537, allocations: 314.8 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-06/0.3537, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.3538, allocations: 7.984 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.3538, allocations: 75.28 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/0.3538, allocations: 79.28 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.564e-05/0.3539, allocations: 33.64 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.354, allocations: 87.31 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/0.354, allocations: 75.28 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/0.3541, allocations: 150.6 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.625e-05/0.3541, allocations: 87.14 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.715e-05/0.3542, allocations: 158.6 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3544, allocations: 92.78 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3544, allocations: 79.28 kB / 1.068 GB, free: 9.824 MB / 0.8262 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.0001311/0.3546, allocations: 272.4 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.3546, allocations: 105 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.3547, allocations: 112.8 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.3548, allocations: 180.2 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.791e-05/0.3548, allocations: 188.2 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/0.3549, allocations: 180.2 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3551, allocations: 421.4 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/0.3552, allocations: 101 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.3552, allocations: 109 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.3553, allocations: 180.2 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.3553, allocations: 184.3 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-05/0.3554, allocations: 184.2 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.3555, allocations: 176.3 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.3556, allocations: 311.6 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.3557, allocations: 198 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.3558, allocations: 184.2 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.3559, allocations: 101 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.356, allocations: 184.2 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.356, allocations: 108.9 kB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.779e-05/0.3561, allocations: 124.4 kB / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3561, allocations: 0 / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002719/0.3564, allocations: 8 kB / 1.071 GB, free: 6.066 MB / 0.8262 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.0004011/0.3568, allocations: 0.8092 MB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.692e-05/0.3569, allocations: 3.938 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3569, allocations: 0 / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.3569, allocations: 8 kB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3573, allocations: 463.6 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3587, allocations: 1.733 MB / 1.074 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.359, allocations: 0.6846 MB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.359, allocations: 4 kB / 1.075 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3591, allocations: 19.44 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3591, allocations: 0 / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.3774, allocations: 1.533 MB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.987, allocations: 5.344 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.csv","/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