Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.0008387/0.0008387, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.006295/0.006295, allocations: 176 kB / 16.27 MB, free: 6.684 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 13.02 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.000921/0.2926, allocations: 379.3 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.2931, allocations: 111.7 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2931, allocations: 0 / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.2932, allocations: 4 kB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2936, allocations: 19.92 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.543e-05/0.2936, allocations: 7.984 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.2937, allocations: 31.86 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2939, allocations: 20 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.294, allocations: 55.94 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.2941, allocations: 7.922 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.2941, allocations: 4 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.2941, allocations: 0 / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.2941, allocations: 11.94 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.2942, allocations: 45.56 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.253e-05/0.2943, allocations: 47.8 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2943, allocations: 0 / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2943, allocations: 0 / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2943, allocations: 4 kB / 1.059 GB, free: 4.105 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.0003432/0.2947, allocations: 331.7 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.2947, allocations: 11.97 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.2948, allocations: 38.75 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.2948, allocations: 8.844 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.295, allocations: 192.1 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.295, allocations: 4.375 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.295, allocations: 4.375 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2952, allocations: 80.8 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2952, allocations: 3.938 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2953, allocations: 11.94 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2953, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.2953, allocations: 19.98 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2959, allocations: 0.6051 MB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.296, allocations: 165.1 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.2961, allocations: 88.02 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.2961, allocations: 79.28 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.2962, allocations: 105.8 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2962, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001316/0.2963, allocations: 37.59 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2964, allocations: 130.7 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2966, allocations: 159.3 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2966, allocations: 25.7 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.2966, allocations: 100.1 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2967, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.2967, allocations: 9.719 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2968, allocations: 318.8 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-06/0.2968, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.2968, allocations: 11.92 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.2969, allocations: 75.28 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.2969, allocations: 75.28 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.038e-05/0.297, allocations: 33.61 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.297, allocations: 84.88 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.297, allocations: 79.28 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.108e-05/0.2971, allocations: 154.5 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/0.2971, allocations: 75.28 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.436e-05/0.2972, allocations: 158.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2973, allocations: 87.2 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.2974, allocations: 79.28 kB / 1.063 GB, free: 472 kB / 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.000131/0.2975, allocations: 276.3 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.2976, allocations: 104.9 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.2977, allocations: 109 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.2977, allocations: 188.2 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.87e-05/0.2978, allocations: 192.3 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-05/0.2979, allocations: 184.1 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.2982, allocations: 413.2 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.2982, allocations: 101 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.2983, allocations: 112.9 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.664e-05/0.2984, allocations: 176.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.2984, allocations: 188.1 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-05/0.2985, allocations: 176.3 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001334/0.2987, allocations: 184.2 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2988, allocations: 311.6 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.2989, allocations: 194 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2991, allocations: 176.3 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.2991, allocations: 101 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.2992, allocations: 192.1 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.2993, allocations: 104.9 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.721e-05/0.2994, allocations: 125.1 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2994, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002694/0.2997, allocations: 4 kB / 1.066 GB, free: 12.7 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.0004406/0.3001, allocations: 0.8125 MB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.3e-05/0.3002, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3002, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.3002, allocations: 3.984 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.3007, allocations: 0.5356 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3024, allocations: 1.828 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3027, allocations: 0.6887 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.3027, allocations: 4.109 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3028, allocations: 19.38 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/0.3028, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.3145, allocations: 1.374 MB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.3147, allocations: 216.3 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.023, allocations: 2.375 kB / 1.072 GB, free: 7.211 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches