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.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.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.001628/0.001627, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.856/2.856, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 66.36 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.345, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002134/0.3471, allocations: 0.6351 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.3476, allocations: 111.7 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3477, allocations: 0 / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3478, allocations: 7.938 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.3482, allocations: 31.89 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.76e-05/0.3483, allocations: 4 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.3484, allocations: 23.98 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3485, allocations: 23.98 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3487, allocations: 51.84 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.3488, allocations: 19.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3488, allocations: 4 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.3488, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.3489, allocations: 19.92 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3489, allocations: 15.88 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.349, allocations: 47.88 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.349, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.349, allocations: 3.938 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.349, allocations: 0 / 1.065 GB, free: 13.52 MB / 0.8262 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.0003983/0.3494, allocations: 356.9 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3495, allocations: 12.03 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.3496, allocations: 38.73 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.3496, allocations: 4.938 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.3498, allocations: 180.2 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3498, allocations: 384 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3498, allocations: 16.31 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.35, allocations: 76.8 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.35, allocations: 3.938 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.35, allocations: 7.984 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.35, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.3501, allocations: 27.92 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.3506, allocations: 0.6011 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.3507, allocations: 169.1 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3507, allocations: 80.14 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3508, allocations: 75.28 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.3508, allocations: 113.8 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.3508, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.974e-05/0.3509, allocations: 33.64 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.351, allocations: 126.7 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3512, allocations: 163.5 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3512, allocations: 25.7 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.3513, allocations: 96.12 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.3513, allocations: 5.672 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.3513, allocations: 13.72 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3514, allocations: 318.8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.3515, allocations: 4 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.3515, allocations: 7.984 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.3515, allocations: 75.28 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/0.3516, allocations: 79.28 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.671e-05/0.3516, allocations: 37.64 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.3517, allocations: 83.31 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.3517, allocations: 75.28 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.414e-05/0.3518, allocations: 150.6 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.3518, allocations: 83.22 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/0.3518, allocations: 154.5 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.352, allocations: 91 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3521, allocations: 87.31 kB / 1.068 GB, free: 9.852 MB / 0.8262 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.3522, allocations: 268.4 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.3523, allocations: 108.9 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.3523, allocations: 112.9 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.3524, allocations: 180.2 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.666e-05/0.3525, allocations: 184.2 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.3525, allocations: 184.2 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3527, allocations: 421.4 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.3528, allocations: 101 kB / 1.069 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.3528, allocations: 105 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.168e-05/0.3529, allocations: 180.2 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.3529, allocations: 188.3 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.489e-05/0.353, allocations: 184.2 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.165e-05/0.353, allocations: 176.3 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.3532, allocations: 315.6 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.3533, allocations: 190 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.3533, allocations: 188.2 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.3534, allocations: 101 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.3535, allocations: 180.2 kB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3535, allocations: 108.9 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.3536, allocations: 125.3 kB / 1.071 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3536, allocations: 4 kB / 1.071 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002496/0.3538, allocations: 0 / 1.071 GB, free: 6.102 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.0003607/0.3542, allocations: 0.8092 MB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.261e-05/0.3543, allocations: 7.875 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3543, allocations: 8 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.3543, allocations: 0 / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3546, allocations: 463.6 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3561, allocations: 1.815 MB / 1.074 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3563, allocations: 0.6924 MB / 1.075 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.625e-05/0.3564, allocations: 4 kB / 1.075 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.3564, allocations: 15.42 kB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3564, allocations: 0 / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.3737, allocations: 1.529 MB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.891, allocations: 16.36 kB / 1.077 GB, free: 0.7422 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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