Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.IntegerVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_latest_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.004654/0.004654, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001129/0.00113, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.89 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9913, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002107/0.9934, allocations: 0.5941 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.9939, allocations: 107.7 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.994, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.9941, allocations: 3.938 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.9946, allocations: 27.91 kB / 1.208 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.371e-05/0.9947, allocations: 12 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.9948, allocations: 39.83 kB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.9949, allocations: 16 kB / 1.208 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.9951, allocations: 55.89 kB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.9952, allocations: 15.92 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.9952, allocations: 0 / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.9952, allocations: 4 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.9953, allocations: 19.97 kB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.9953, allocations: 19.88 kB / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.9954, allocations: 39.83 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9954, allocations: 0 / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9954, allocations: 0 / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9955, allocations: 0 / 1.208 GB, free: 12.63 MB / 0.9356 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.000432/0.9959, allocations: 361.6 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9959, allocations: 11.97 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.996, allocations: 38.75 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.996, allocations: 8.781 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.9962, allocations: 180.3 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9963, allocations: 4.375 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.9963, allocations: 4.375 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.9965, allocations: 84.77 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9965, allocations: 7.938 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.9965, allocations: 7.984 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.9965, allocations: 7.938 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.9966, allocations: 19.98 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.9971, allocations: 0.605 MB / 1.209 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.9972, allocations: 173.1 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.9972, allocations: 80.14 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.9973, allocations: 79.22 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.9973, allocations: 105.8 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9973, allocations: 0 / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.549e-05/0.9974, allocations: 37.61 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.9975, allocations: 130.7 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.9977, allocations: 159.6 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.9977, allocations: 25.7 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.9978, allocations: 96.14 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.9978, allocations: 0 / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.9978, allocations: 17.7 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9979, allocations: 310.8 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-06/0.998, allocations: 8 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.998, allocations: 7.938 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.998, allocations: 75.28 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/0.9981, allocations: 75.28 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.135e-05/0.9981, allocations: 33.69 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.9982, allocations: 83.28 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.9982, allocations: 75.28 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.184e-05/0.9983, allocations: 162.5 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.9983, allocations: 75.28 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.846e-05/0.9984, allocations: 158.5 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.9985, allocations: 87.12 kB / 1.211 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.9985, allocations: 79.27 kB / 1.212 GB, free: 8.953 MB / 0.9356 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.0001454/0.9987, allocations: 272.3 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.9987, allocations: 116.9 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.9988, allocations: 108.9 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.9989, allocations: 184.1 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.909e-05/0.9989, allocations: 176.3 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-05/0.999, allocations: 196.2 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.9993, allocations: 413.2 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.9993, allocations: 113 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.9993, allocations: 104.9 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.159e-05/0.9994, allocations: 180.3 kB / 1.213 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.9995, allocations: 180.5 kB / 1.213 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.117e-05/0.9995, allocations: 180.3 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.806e-05/0.9996, allocations: 184.3 kB / 1.214 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.9998, allocations: 311.7 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.9999, allocations: 189.9 kB / 1.214 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/1, allocations: 184.2 kB / 1.214 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/1, allocations: 105 kB / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/1, allocations: 188.1 kB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/1, allocations: 101 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000108/1, allocations: 123.2 kB / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 0 / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002738/1.001, allocations: 4 kB / 1.215 GB, free: 5.188 MB / 0.9356 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.0004371/1.001, allocations: 0.8165 MB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.525e-05/1.001, allocations: 0 / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.001, allocations: 0 / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/1.001, allocations: 4 kB / 1.216 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.002, allocations: 473.3 kB / 1.216 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.003, allocations: 1.751 MB / 1.218 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/1.003, allocations: 0.6846 MB / 1.219 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.805e-05/1.003, allocations: 4 kB / 1.219 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/1.003, allocations: 11.44 kB / 1.219 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.003, allocations: 0 / 1.219 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/1.023, allocations: 1.546 MB / 1.22 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/8.494, allocations: 8.406 kB / 1.22 GB, free: 15.91 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches