Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.RealVectorFilter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_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.00948/0.00948, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.002002/0.002002, allocations: 202 kB / 16.68 MB, free: 5.961 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.802/2.802, allocations: 437.1 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 64.09 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002125/0.3302, allocations: 0.6387 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.3306, allocations: 116.1 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.3306, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.3307, allocations: 3.938 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.3311, allocations: 27.91 kB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.3312, allocations: 4 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.3313, allocations: 39.84 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.3314, allocations: 16.28 kB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3315, allocations: 59.94 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.3316, allocations: 15.92 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3316, allocations: 0 / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.3316, allocations: 4 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.3316, allocations: 11.94 kB / 1.167 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3317, allocations: 23.86 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3318, allocations: 47.75 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3318, allocations: 4 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3318, allocations: 0 / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3318, allocations: 0 / 1.167 GB, free: 6.281 MB / 0.92 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.0003855/0.3322, allocations: 351.3 kB / 1.167 GB, free: 5.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3323, allocations: 12.03 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.3323, allocations: 34.75 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.3324, allocations: 8.891 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3326, allocations: 188.2 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3326, allocations: 8.312 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3326, allocations: 4.375 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3328, allocations: 80.8 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3328, allocations: 3.938 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3328, allocations: 4 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3328, allocations: 3.938 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.3329, allocations: 27.97 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.3334, allocations: 0.6012 MB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.3335, allocations: 169.1 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.3335, allocations: 84.14 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3336, allocations: 79.22 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.3336, allocations: 109.8 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3336, allocations: 0 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.3337, allocations: 33.66 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.3338, allocations: 134.7 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3339, allocations: 161.7 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.334, allocations: 25.7 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.334, allocations: 92.14 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.334, allocations: 0 / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.3341, allocations: 9.719 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3342, allocations: 322.8 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.3342, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.3342, allocations: 11.94 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.3343, allocations: 75.28 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/0.3343, allocations: 75.28 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.646e-05/0.3344, allocations: 33.69 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.3344, allocations: 81 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.638e-05/0.3344, allocations: 79.28 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.607e-05/0.3345, allocations: 154.5 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.043e-05/0.3345, allocations: 79.31 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.776e-05/0.3346, allocations: 158.5 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.3347, allocations: 87.17 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.3348, allocations: 79.27 kB / 1.17 GB, free: 2.617 MB / 0.92 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.000127/0.3349, allocations: 272.3 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.335, allocations: 116.9 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.335, allocations: 108.9 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.3351, allocations: 188.1 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/0.3352, allocations: 180.3 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.3352, allocations: 188.1 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.3355, allocations: 413.2 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/0.3355, allocations: 113.2 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.3356, allocations: 108.9 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.3357, allocations: 180.3 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.3357, allocations: 180.2 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-05/0.3358, allocations: 180.3 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-05/0.3359, allocations: 180.3 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.336, allocations: 311.7 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.3361, allocations: 190 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.3362, allocations: 180.2 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.3363, allocations: 105 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.3364, allocations: 196.1 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3364, allocations: 101 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.258e-05/0.3365, allocations: 119.2 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002578/0.3368, allocations: 4 kB / 1.174 GB, free: 14.85 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.0004151/0.3372, allocations: 0.8165 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.438e-05/0.3373, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3373, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3373, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3376, allocations: 473.6 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3391, allocations: 1.822 MB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3394, allocations: 0.6924 MB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.3394, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.3395, allocations: 19.42 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.3395, allocations: 0 / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3577, allocations: 1.565 MB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.087, allocations: 6.531 kB / 1.179 GB, free: 9.449 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches