Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002565/0.002565, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 64.08 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3876, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002087/0.3897, allocations: 0.665 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004001/0.3901, allocations: 113.9 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.3902, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3903, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.3907, allocations: 31.91 kB / 1.069 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.3908, allocations: 8 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.3909, allocations: 23.98 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.391, allocations: 23.97 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3911, allocations: 59.83 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.3912, allocations: 19.92 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3912, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.3912, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.3913, allocations: 23.92 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3913, allocations: 19.88 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.3914, allocations: 35.88 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3914, allocations: 3.984 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3914, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3915, allocations: 4 kB / 1.069 GB, free: 9.727 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.0004016/0.3919, allocations: 355.5 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3919, allocations: 12.03 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3919, allocations: 0.9375 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3921, allocations: 188.2 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3922, allocations: 384 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3922, allocations: 4.375 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3923, allocations: 76.81 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3924, allocations: 4.125 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3924, allocations: 7.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3924, allocations: 7.984 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.3924, allocations: 27.92 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3929, allocations: 0.5972 MB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.393, allocations: 173.1 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.393, allocations: 80.14 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3931, allocations: 75.28 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3931, allocations: 109.8 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3931, allocations: 3.938 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.732e-05/0.3932, allocations: 33.61 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.3933, allocations: 130.7 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3934, allocations: 160.5 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3935, allocations: 25.7 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.3935, allocations: 92.14 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.3935, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.3935, allocations: 13.72 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3937, allocations: 326.7 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.3937, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.3937, allocations: 8 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.3937, allocations: 75.28 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.3938, allocations: 75.28 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.792e-05/0.3938, allocations: 41.61 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.3939, allocations: 79.28 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.3939, allocations: 79.28 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/0.394, allocations: 158.5 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.394, allocations: 79.31 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.737e-05/0.3941, allocations: 154.6 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3942, allocations: 91.06 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3943, allocations: 75.28 kB / 1.072 GB, free: 6.113 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.0001437/0.3944, allocations: 273.9 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.3945, allocations: 109.1 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.3945, allocations: 124.6 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.3946, allocations: 180.3 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.638e-05/0.3947, allocations: 184.2 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.3947, allocations: 180.2 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.395, allocations: 421.1 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/0.395, allocations: 109 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.3951, allocations: 105 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.395e-05/0.3951, allocations: 180.2 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.3952, allocations: 176.3 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.289e-05/0.3953, allocations: 184.2 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.157e-05/0.3953, allocations: 184.2 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.3955, allocations: 315.6 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.3956, allocations: 190 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.3957, allocations: 180.2 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.3957, allocations: 109 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.3958, allocations: 184.2 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3959, allocations: 104.9 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.523e-05/0.396, allocations: 120.8 kB / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.396, allocations: 0 / 1.075 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002435/0.3962, allocations: 4 kB / 1.075 GB, free: 2.348 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.0001608/0.3964, allocations: 178.5 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.257e-05/0.3964, allocations: 11.94 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3964, allocations: 0 / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.3964, allocations: 3.938 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3968, allocations: 459.7 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.3971, allocations: 216.2 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3974, allocations: 0.6885 MB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.3974, allocations: 7.984 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.3974, allocations: 7.438 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3974, allocations: 0 / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of Templates: time 0.00253/0.4, allocations: 432.4 kB / 1.077 GB, free: 312 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches