Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001872, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.001533/0.001533, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.75 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 140.4 MB / 0.9511 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.00182/0.2849, allocations: 0.636 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.2852, allocations: 111.7 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.2853, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2854, allocations: 7.922 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.2857, allocations: 35.91 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-05/0.2858, allocations: 7.984 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.2859, allocations: 27.92 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.859e-05/0.286, allocations: 19.98 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2861, allocations: 59.84 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.2862, allocations: 15.92 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2862, allocations: 7.984 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.2862, allocations: 0 / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.2863, allocations: 18.09 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.2863, allocations: 15.88 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.2864, allocations: 47.81 kB / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2864, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2864, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.2864, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7325 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.0003483/0.2868, allocations: 355.3 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2868, allocations: 8.031 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.2868, allocations: 8.844 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.287, allocations: 180.2 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2871, allocations: 8.375 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2871, allocations: 384 / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2872, allocations: 84.78 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2873, allocations: 192 / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2873, allocations: 11.94 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2873, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.2873, allocations: 31.86 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.2878, allocations: 0.5933 MB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.2879, allocations: 173.1 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.2879, allocations: 80.14 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.288, allocations: 75.28 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.288, allocations: 109.8 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.288, allocations: 3.938 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.2881, allocations: 33.61 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.2882, allocations: 130.7 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2883, allocations: 160.1 kB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2884, allocations: 25.7 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2884, allocations: 92.14 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.2884, allocations: 0 / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2885, allocations: 17.7 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2886, allocations: 318.8 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-06/0.2886, allocations: 0 / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.2886, allocations: 12 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.2886, allocations: 75.28 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/0.2887, allocations: 79.28 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.18e-05/0.2887, allocations: 41.53 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2888, allocations: 79.28 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.2888, allocations: 79.22 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.261e-05/0.2889, allocations: 158.5 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.2889, allocations: 79.31 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.134e-05/0.289, allocations: 150.6 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2891, allocations: 91.19 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.2891, allocations: 83.27 kB / 0.9554 GB, free: 3.367 MB / 0.7325 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.0001259/0.2893, allocations: 266.4 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.2893, allocations: 120.8 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.2894, allocations: 108.9 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/0.2895, allocations: 176.3 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-05/0.2895, allocations: 184.2 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.471e-05/0.2896, allocations: 184.2 kB / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2898, allocations: 417.4 kB / 0.9568 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.2899, allocations: 109 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.2899, allocations: 109 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.413e-05/0.29, allocations: 180.2 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.29, allocations: 180.3 kB / 0.9573 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-05/0.2901, allocations: 180.2 kB / 0.9575 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.619e-05/0.2902, allocations: 184.3 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.2903, allocations: 315.6 kB / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.2904, allocations: 190.1 kB / 0.9582 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.2905, allocations: 188.1 kB / 0.9583 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.2906, allocations: 101 kB / 0.9584 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.2907, allocations: 188.2 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.2907, allocations: 108.9 kB / 0.9587 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.2908, allocations: 123.2 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2908, allocations: 0 / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002506/0.2911, allocations: 4 kB / 0.9588 GB, free: 15.61 MB / 0.7481 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.0001359/0.2912, allocations: 174.5 kB / 0.959 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.505e-05/0.2913, allocations: 8 kB / 0.959 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2913, allocations: 0 / 0.959 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.2913, allocations: 3.938 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2916, allocations: 460.2 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.2919, allocations: 204.3 kB / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2922, allocations: 0.7 MB / 0.9603 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.2922, allocations: 11.92 kB / 0.9604 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.2922, allocations: 7.438 kB / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.2922, allocations: 0 / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of Templates: time 0.00237/0.2946, allocations: 408.5 kB / 0.9608 GB, free: 13.59 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches