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: 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_latest_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_latest_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.001127/0.001127, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001496/0.001496, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.99/2.99, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005295, allocations: 10 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3637, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008637/0.3646, allocations: 371.3 kB / 1.058 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000326/0.3649, allocations: 99.77 kB / 1.058 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.365, allocations: 0 / 1.058 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.39e-05/0.3651, allocations: 11.98 kB / 1.058 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3654, allocations: 19.92 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-05/0.3654, allocations: 8 kB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.3655, allocations: 31.91 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3656, allocations: 11.98 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3658, allocations: 59.83 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.3659, allocations: 7.938 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3659, allocations: 4 kB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.3659, allocations: 0 / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3659, allocations: 11.98 kB / 1.059 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.366, allocations: 37.64 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.82e-05/0.3661, allocations: 35.92 kB / 1.059 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3661, allocations: 0 / 1.059 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3661, allocations: 0 / 1.059 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3661, allocations: 0 / 1.059 GB, free: 4.574 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.0004065/0.3665, allocations: 347.5 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3666, allocations: 12.03 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.3666, allocations: 11.89 kB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3668, allocations: 175.1 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3668, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3669, allocations: 7.953 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.367, allocations: 84.12 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3671, allocations: 0 / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3671, allocations: 4 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3671, allocations: 4 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.3671, allocations: 27.92 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.3676, allocations: 0.5933 MB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.85e-05/0.3677, allocations: 177.1 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.3678, allocations: 80.14 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.3678, allocations: 75.28 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.3679, allocations: 113.8 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3679, allocations: 0 / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.671e-05/0.368, allocations: 33.69 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.368, allocations: 134.6 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3682, allocations: 163.9 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3682, allocations: 25.7 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.3683, allocations: 96.12 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3683, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.3683, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3684, allocations: 318.8 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.3684, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.3685, allocations: 7.984 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.3685, allocations: 79.28 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/0.3685, allocations: 75.28 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.326e-05/0.3686, allocations: 29.7 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.3686, allocations: 79.28 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3687, allocations: 79.22 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.844e-05/0.3687, allocations: 158.6 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.458e-05/0.3688, allocations: 83.25 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.171e-05/0.3688, allocations: 150.6 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.369, allocations: 87.17 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.369, allocations: 83.17 kB / 1.062 GB, free: 0.9883 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.3692, allocations: 268.4 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.3692, allocations: 109 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.3693, allocations: 116.8 kB / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-05/0.3694, allocations: 176.5 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/0.3694, allocations: 196.2 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.242e-05/0.3695, allocations: 184.2 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3698, allocations: 421.2 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/0.3698, allocations: 108.9 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.3699, allocations: 101 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.37, allocations: 188.2 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.37, allocations: 176.3 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.661e-05/0.3701, allocations: 176.3 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.711e-05/0.3702, allocations: 188.2 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3703, allocations: 315.6 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.3704, allocations: 190 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.3705, allocations: 180.3 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.3706, allocations: 104.9 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3706, allocations: 180.3 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.3707, allocations: 108.9 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.3708, allocations: 123.2 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3708, allocations: 3.938 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002527/0.3711, allocations: 4 kB / 1.065 GB, free: 13.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.3712, allocations: 170.5 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.896e-05/0.3712, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3713, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3713, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3716, allocations: 0.5263 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.3719, allocations: 214.1 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3722, allocations: 0.6926 MB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.3722, allocations: 7.984 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.3723, allocations: 15.38 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3723, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.002262/0.3745, allocations: 388.6 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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