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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_10_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.001372/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00158/0.00158, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.432/2.432, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6068, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001941/0.6088, allocations: 0.6598 MB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000354/0.6092, allocations: 115.7 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.6092, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.6093, allocations: 4 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.6097, allocations: 27.92 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.343e-05/0.6097, allocations: 15.92 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.6098, allocations: 23.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.6099, allocations: 27.97 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.61, allocations: 59.84 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.6101, allocations: 11.92 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6101, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.6101, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.6102, allocations: 15.98 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.6102, allocations: 19.88 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.509e-05/0.6103, allocations: 43.8 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6103, allocations: 4 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6103, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.6103, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.7637 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.0003312/0.6107, allocations: 353.6 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6107, allocations: 8.031 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.6108, allocations: 38.75 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.6108, allocations: 4.844 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.611, allocations: 196.1 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.611, allocations: 384 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.611, allocations: 4.375 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.6111, allocations: 80.81 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6111, allocations: 3.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.6111, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6112, allocations: 7.984 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.6112, allocations: 27.91 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.6117, allocations: 0.6051 MB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.6118, allocations: 169.1 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.6118, allocations: 80.14 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.6118, allocations: 75.28 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6119, allocations: 109.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6119, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.583e-05/0.612, allocations: 33.61 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.612, allocations: 130.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.6122, allocations: 163.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.6122, allocations: 25.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.6122, allocations: 92.14 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.6122, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.6123, allocations: 13.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6124, allocations: 318.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.6124, allocations: 4.031 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.6124, allocations: 8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.6125, allocations: 75.28 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/0.6125, allocations: 75.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.546e-05/0.6125, allocations: 37.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6126, allocations: 80.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.6126, allocations: 87.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.513e-05/0.6127, allocations: 154.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.03e-05/0.6127, allocations: 75.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-05/0.6128, allocations: 154.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.6129, allocations: 91.16 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.6129, allocations: 79.22 kB / 1.021 GB, free: 13.99 MB / 0.7794 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.0001239/0.6131, allocations: 276.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.6131, allocations: 112.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.6132, allocations: 108.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.6133, allocations: 180.3 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/0.6133, allocations: 180.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/0.6134, allocations: 188.2 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.6136, allocations: 421.3 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.6137, allocations: 105 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.6137, allocations: 105 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.6138, allocations: 188.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.6138, allocations: 180.3 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.916e-05/0.6139, allocations: 188.2 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-05/0.614, allocations: 176.3 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.6141, allocations: 315.6 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.6142, allocations: 182.1 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.6142, allocations: 184.2 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.6143, allocations: 105 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.6144, allocations: 192.1 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6145, allocations: 105 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.908e-05/0.6145, allocations: 125 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6145, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002378/0.6148, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 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.000372/0.6152, allocations: 0.8126 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.729e-05/0.6152, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6152, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.6152, allocations: 4 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.6156, allocations: 463.6 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.6168, allocations: 1.758 MB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.6171, allocations: 0.6885 MB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.6171, allocations: 4 kB / 1.028 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.6171, allocations: 15.44 kB / 1.028 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6172, allocations: 4 kB / 1.028 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.6287, allocations: 1.457 MB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.6289, allocations: 219.1 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.284, allocations: 3.75 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > 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