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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001347/0.001347, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 70.89 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2634, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.002216/0.2656, allocations: 0.6572 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.2662, allocations: 123.7 kB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2662, allocations: 3.938 kB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2664, allocations: 3.938 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.2669, allocations: 23.98 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.738e-05/0.267, allocations: 7.984 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.2671, allocations: 23.92 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2672, allocations: 27.97 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2674, allocations: 51.91 kB / 1.053 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.2674, allocations: 15.92 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2675, allocations: 0 / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.2675, allocations: 4 kB / 1.053 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.2675, allocations: 11.98 kB / 1.053 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.2676, allocations: 15.88 kB / 1.053 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2677, allocations: 51.8 kB / 1.053 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2677, allocations: 4 kB / 1.053 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2677, allocations: 0 / 1.053 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.2677, allocations: 0 / 1.053 GB, free: 7.172 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.0004051/0.2681, allocations: 351.7 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2682, allocations: 11.97 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2682, allocations: 46.62 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.2683, allocations: 8.844 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2685, allocations: 184.2 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2685, allocations: 384 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2685, allocations: 4.375 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2687, allocations: 84.75 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2687, allocations: 3.938 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2688, allocations: 4 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2688, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.2688, allocations: 27.95 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.2693, allocations: 0.605 MB / 1.054 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.2694, allocations: 169.1 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.2695, allocations: 80.14 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2695, allocations: 75.28 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.2696, allocations: 113.8 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2696, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.864e-05/0.2696, allocations: 29.7 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.2697, allocations: 130.7 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2699, allocations: 163.1 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2699, allocations: 25.7 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.27, allocations: 92.14 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.27, allocations: 4 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.27, allocations: 17.66 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2702, allocations: 318.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-06/0.2702, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.2702, allocations: 4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.2702, allocations: 75.28 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/0.2703, allocations: 75.28 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.299e-05/0.2703, allocations: 33.61 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.2704, allocations: 87.31 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.2704, allocations: 83.2 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.685e-05/0.2705, allocations: 150.6 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.732e-05/0.2705, allocations: 79.22 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.587e-05/0.2706, allocations: 162.5 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2708, allocations: 79.22 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.2708, allocations: 87.22 kB / 1.057 GB, free: 3.504 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.0001509/0.271, allocations: 272.3 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.271, allocations: 109.1 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.2711, allocations: 112.9 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-05/0.2712, allocations: 188.2 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.166e-05/0.2713, allocations: 184.3 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.608e-05/0.2714, allocations: 188.1 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.2716, allocations: 413.2 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.2717, allocations: 101 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.2718, allocations: 108.9 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.031e-05/0.2718, allocations: 180.2 kB / 1.058 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.2719, allocations: 188.2 kB / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.799e-05/0.272, allocations: 180.2 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.2721, allocations: 180.2 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2723, allocations: 315.7 kB / 1.059 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2724, allocations: 189.9 kB / 1.059 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.2725, allocations: 180.3 kB / 1.059 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.2726, allocations: 104.9 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.2727, allocations: 188.2 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.2727, allocations: 105 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.2728, allocations: 124.5 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2728, allocations: 0 / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002766/0.2731, allocations: 4 kB / 1.06 GB, free: 15.74 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.0004302/0.2735, allocations: 0.8087 MB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.198e-05/0.2736, allocations: 0 / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2736, allocations: 4 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2736, allocations: 4 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.274, allocations: 0.5301 MB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2755, allocations: 1.748 MB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2758, allocations: 0.6887 MB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.2759, allocations: 4 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.2759, allocations: 15.44 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 4.7e-07/0.2759, allocations: 0 / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.2885, allocations: 1.426 MB / 1.065 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.2887, allocations: 229.1 kB / 1.065 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.984, allocations: 4.875 kB / 1.065 GB, free: 10.26 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