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.001224/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001222/0.001222, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 69.25 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3431, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002534/0.3457, allocations: 0.6572 MB / 1.053 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.3461, allocations: 123.6 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3462, allocations: 7.938 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3463, allocations: 0 / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.3468, allocations: 27.91 kB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.077e-05/0.3468, allocations: 7.984 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.347, allocations: 23.98 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3471, allocations: 27.98 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3473, allocations: 59.84 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.3473, allocations: 19.91 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3474, allocations: 4 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.3474, allocations: 4 kB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.3474, allocations: 11.98 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.3475, allocations: 19.88 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.3476, allocations: 47.81 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3476, allocations: 0 / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3476, allocations: 0 / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.3476, allocations: 4 kB / 1.053 GB, free: 7.59 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.0003512/0.348, allocations: 339.7 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.348, allocations: 12.62 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.3481, allocations: 42.69 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.3481, allocations: 8.844 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3483, allocations: 192.1 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3483, allocations: 4.375 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3483, allocations: 4.375 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3484, allocations: 76.81 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3485, allocations: 3.938 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3485, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3485, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.3485, allocations: 27.91 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.349, allocations: 0.6011 MB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.3491, allocations: 165.1 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.3492, allocations: 84.14 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3492, allocations: 75.28 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3493, allocations: 109.8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.3493, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.915e-05/0.3494, allocations: 33.7 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.3494, allocations: 126.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3496, allocations: 167 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3496, allocations: 29.64 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.3497, allocations: 92.14 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.3497, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3497, allocations: 13.72 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3499, allocations: 318.8 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.3499, allocations: 4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.3499, allocations: 0 / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.3499, allocations: 79.31 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.35, allocations: 75.28 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.28e-05/0.3501, allocations: 41.55 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.3501, allocations: 80.84 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.3501, allocations: 79.27 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-05/0.3502, allocations: 154.6 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.813e-05/0.3503, allocations: 87.23 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.803e-05/0.3503, allocations: 166.5 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3505, allocations: 79.22 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3505, allocations: 79.28 kB / 1.057 GB, free: 3.93 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.0001332/0.3507, allocations: 269.9 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.3507, allocations: 112.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.3508, allocations: 116.8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/0.3509, allocations: 184.2 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.476e-05/0.351, allocations: 180.3 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-05/0.351, allocations: 184.2 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.3513, allocations: 417.1 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.3513, allocations: 105 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.3514, allocations: 108.9 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.772e-05/0.3515, allocations: 180.2 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.3515, allocations: 180.3 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-05/0.3516, allocations: 180.2 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-05/0.3516, allocations: 176.3 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3518, allocations: 323.6 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.3519, allocations: 186 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.3519, allocations: 188.2 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.352, allocations: 105 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.3521, allocations: 192.1 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3521, allocations: 109 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.324e-05/0.3522, allocations: 119.2 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3522, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002588/0.3525, allocations: 0 / 1.06 GB, free: 172 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.0004116/0.3529, allocations: 0.8126 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.359e-05/0.353, allocations: 7.938 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.353, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.353, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3534, allocations: 467.5 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3546, allocations: 1.748 MB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3549, allocations: 0.6885 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.3549, allocations: 4 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.355, allocations: 15.44 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.355, allocations: 0 / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.3665, allocations: 1.468 MB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.3667, allocations: 225.5 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.303, allocations: 4.062 kB / 1.066 GB, free: 10.74 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