Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001471/0.001471, 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.001659/0.001659, allocations: 189.4 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.492/2.492, allocations: 437.1 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6392, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002422/0.6416, allocations: 0.6589 MB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.642, allocations: 111.7 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.6421, allocations: 3.938 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.6423, allocations: 7.922 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.6426, allocations: 27.92 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.6427, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.6428, allocations: 31.97 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6429, allocations: 23.98 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.643, allocations: 55.83 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.6431, allocations: 15.92 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.6431, allocations: 4 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.6431, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.6432, allocations: 11.98 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.6432, allocations: 19.88 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.23e-05/0.6433, allocations: 43.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6433, allocations: 4 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6433, allocations: 4 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6433, allocations: 0 / 1.018 GB, free: 1.648 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.0003196/0.6436, allocations: 349.6 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6437, allocations: 12.03 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.6437, allocations: 38.73 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.6438, allocations: 12.78 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.6439, allocations: 176.3 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6439, allocations: 4.375 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.6439, allocations: 12.25 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.6441, allocations: 80.81 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6441, allocations: 7.938 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.6441, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6441, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.6442, allocations: 23.92 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.6446, allocations: 0.6051 MB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.6447, allocations: 165.1 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.6447, allocations: 80.14 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.6448, allocations: 79.27 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.6448, allocations: 113.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.6448, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.421e-05/0.6449, allocations: 33.55 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.6449, allocations: 130.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.6451, allocations: 155.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6451, allocations: 33.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.6452, allocations: 92.12 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.6452, allocations: 8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.6452, allocations: 9.719 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6453, allocations: 322.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.6453, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.6453, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.6454, allocations: 75.31 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/0.6454, allocations: 83.28 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.395e-05/0.6455, allocations: 37.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.6455, allocations: 83.31 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.6455, allocations: 75.28 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/0.6456, allocations: 150.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/0.6456, allocations: 87.2 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.442e-05/0.6457, allocations: 158.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.6458, allocations: 87.16 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.6459, allocations: 83.28 kB / 1.021 GB, free: 13.98 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.0001149/0.646, allocations: 268.9 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.646, allocations: 116.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.6461, allocations: 108.9 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/0.6462, allocations: 180.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/0.6462, allocations: 188.2 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/0.6463, allocations: 184.2 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.6465, allocations: 417.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/0.6466, allocations: 101 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.6466, allocations: 105 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.591e-05/0.6467, allocations: 188.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.6467, allocations: 192.2 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.6468, allocations: 180.2 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.157e-05/0.6469, allocations: 176.3 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.647, allocations: 315.6 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.6471, allocations: 190.1 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.6471, allocations: 180.2 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.6472, allocations: 101 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.6473, allocations: 184.2 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.6473, allocations: 112.9 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.6474, allocations: 124.6 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6474, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002455/0.6477, allocations: 8 kB / 1.025 GB, free: 10.22 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.0003455/0.648, allocations: 0.8049 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.939e-05/0.6481, allocations: 3.938 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.6481, allocations: 0 / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6481, allocations: 4 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.6484, allocations: 465.7 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.6496, allocations: 1.756 MB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6498, allocations: 0.6885 MB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.6498, allocations: 4 kB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.6499, allocations: 15.44 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6499, allocations: 0 / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.6798, allocations: 1.449 MB / 1.03 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.6801, allocations: 220.7 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.344, allocations: 0 / 1.03 GB, free: 4.797 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches