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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001314/0.001314, 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.00164/0.00164, allocations: 194.6 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 472.7 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.5 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3906, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001911/0.3926, allocations: 0.6328 MB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.3929, allocations: 107.7 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.393, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3931, allocations: 3.938 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.3935, allocations: 35.89 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.378e-05/0.3936, allocations: 4 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.3936, allocations: 27.97 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3938, allocations: 20 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3939, allocations: 58 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.394, allocations: 23.91 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.394, allocations: 0 / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.394, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.3941, allocations: 11.94 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3941, allocations: 23.86 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.3942, allocations: 39.89 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3942, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3942, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3943, allocations: 0 / 1.069 GB, free: 9.41 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.0003881/0.3947, allocations: 359.5 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3947, allocations: 12.03 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3947, allocations: 4.938 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.3949, allocations: 184.3 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.395, allocations: 384 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.395, allocations: 4.375 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3951, allocations: 84.75 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3951, allocations: 192 / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3952, allocations: 3.938 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3952, allocations: 4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.3952, allocations: 27.92 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.3957, allocations: 0.5972 MB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.3958, allocations: 177.1 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.3959, allocations: 80.14 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.3959, allocations: 75.28 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.396, allocations: 109.8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.396, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.827e-05/0.3961, allocations: 41.55 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3961, allocations: 126.7 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3963, allocations: 155.2 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3963, allocations: 29.69 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3964, allocations: 92.14 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.3964, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.3964, allocations: 17.66 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3965, allocations: 326.8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.3965, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.3966, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.3966, allocations: 75.28 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.3966, allocations: 75.28 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.963e-05/0.3967, allocations: 37.64 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.3967, allocations: 83.28 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/0.3968, allocations: 79.28 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-05/0.3968, allocations: 158.6 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.3969, allocations: 79.22 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.367e-05/0.3969, allocations: 158.5 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3971, allocations: 87.06 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3971, allocations: 79.31 kB / 1.072 GB, free: 5.789 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.0001376/0.3973, allocations: 277.9 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.3973, allocations: 108.9 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.3974, allocations: 124.6 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/0.3975, allocations: 176.3 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-05/0.3975, allocations: 180.2 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.3976, allocations: 180.2 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.3979, allocations: 429.4 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/0.3979, allocations: 101 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.398, allocations: 101 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.398, allocations: 184.2 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.3981, allocations: 184.2 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.933e-05/0.3982, allocations: 180.2 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-05/0.3983, allocations: 184.3 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3985, allocations: 307.6 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.3986, allocations: 194 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.3986, allocations: 188.2 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.3987, allocations: 109 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3988, allocations: 176.3 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3988, allocations: 112.8 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.758e-05/0.3989, allocations: 120.5 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3989, allocations: 0 / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002563/0.3992, allocations: 4 kB / 1.076 GB, free: 2.02 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.0001356/0.3993, allocations: 183.6 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.269e-05/0.3994, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3994, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3994, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3998, allocations: 471.5 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.4, allocations: 212.2 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4003, allocations: 0.6885 MB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.4003, allocations: 4 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.4004, allocations: 11.44 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4004, allocations: 0 / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of Templates: time 0.00215/0.4025, allocations: 407.3 kB / 1.078 GB, free: 8 kB / 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