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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 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.001831/0.001831, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 64.05 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.316, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.003283/0.3193, allocations: 0.6128 MB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000441/0.3198, allocations: 119.7 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.3199, allocations: 0 / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.32, allocations: 7.938 kB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.3205, allocations: 27.91 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.161e-05/0.3206, allocations: 8 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.3207, allocations: 27.91 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3209, allocations: 23.98 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.3211, allocations: 55.89 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.3212, allocations: 11.94 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3212, allocations: 4 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.3212, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.3213, allocations: 15.98 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.3214, allocations: 19.86 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3215, allocations: 47.81 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3215, allocations: 4 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3215, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3215, allocations: 0 / 1.054 GB, free: 7.285 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.0004632/0.322, allocations: 355.6 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.3221, allocations: 8.625 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.3221, allocations: 38.69 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3222, allocations: 8.844 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.3224, allocations: 188.2 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3224, allocations: 384 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3224, allocations: 8.375 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3226, allocations: 76.81 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3226, allocations: 7.875 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3226, allocations: 0 / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3226, allocations: 4 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.3227, allocations: 27.97 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3232, allocations: 0.6011 MB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.3233, allocations: 169.1 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.3234, allocations: 88.08 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3234, allocations: 75.28 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.3235, allocations: 113.8 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3235, allocations: 0 / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.73e-05/0.3236, allocations: 29.7 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.3237, allocations: 126.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.3239, allocations: 162.8 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3239, allocations: 25.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.324, allocations: 92.14 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.324, allocations: 4 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3241, allocations: 13.72 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3242, allocations: 318.8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.3242, allocations: 3.938 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.3242, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.3243, allocations: 75.28 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.3243, allocations: 75.28 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.526e-05/0.3244, allocations: 33.61 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.3244, allocations: 87.31 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-05/0.3245, allocations: 91.14 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.495e-05/0.3246, allocations: 154.5 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.583e-05/0.3246, allocations: 75.28 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.33e-05/0.3247, allocations: 158.5 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3249, allocations: 83.25 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.3249, allocations: 83.22 kB / 1.057 GB, free: 3.617 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.0001523/0.3251, allocations: 272.4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3252, allocations: 108.9 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.3252, allocations: 117.3 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.409e-05/0.3253, allocations: 180.2 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.902e-05/0.3254, allocations: 180.3 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-05/0.3255, allocations: 184.1 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3258, allocations: 421.5 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-05/0.3258, allocations: 101 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.3259, allocations: 109 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.677e-05/0.326, allocations: 180.2 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.3261, allocations: 188.2 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-05/0.3261, allocations: 176.3 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-05/0.3262, allocations: 180.3 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3264, allocations: 315.6 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3265, allocations: 201.9 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.3266, allocations: 180.3 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3267, allocations: 101 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.3267, allocations: 188.1 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.3268, allocations: 101 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3269, allocations: 121 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3269, allocations: 3.938 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000285/0.3272, allocations: 8 kB / 1.061 GB, free: 15.86 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.0004794/0.3277, allocations: 0.8087 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.3278, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3278, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3278, allocations: 8 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3282, allocations: 467.5 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3295, allocations: 1.736 MB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3298, allocations: 0.6846 MB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.3298, allocations: 4 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.3299, allocations: 15.44 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3299, allocations: 0 / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/0.4874, allocations: 1.52 MB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.433, allocations: 10.06 kB / 1.066 GB, free: 10.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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