Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.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.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007038/0.007038, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001684/0.001684, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.58 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003405/0.3032, allocations: 1.85 MB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3044, allocations: 0.5844 MB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.3047, allocations: 4 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.3049, allocations: 15.86 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.3055, allocations: 59.69 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3058, allocations: 83.89 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.3063, allocations: 259.2 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3064, allocations: 28.3 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.3067, allocations: 99.55 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.307, allocations: 127.5 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.3071, allocations: 12 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.656e-05/0.3072, allocations: 8 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3073, allocations: 71.67 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.3075, allocations: 87.45 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.3077, allocations: 156 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3077, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3077, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3077, allocations: 0 / 1.056 GB, free: 4.883 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001321/0.309, allocations: 0.5374 MB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3091, allocations: 12.03 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3092, allocations: 24.66 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.3097, allocations: 278.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3098, allocations: 8.375 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.3098, allocations: 16.36 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3101, allocations: 139.3 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3102, allocations: 3.938 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3102, allocations: 11.98 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.3102, allocations: 12.22 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.3105, allocations: 140.6 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3116, allocations: 0.5521 MB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.3119, allocations: 180.2 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3121, allocations: 76.81 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3121, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3121, allocations: 30.56 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.3121, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.000528/0.3127, allocations: 249.5 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3127, allocations: 63.34 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.3131, allocations: 241 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3131, allocations: 37.64 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.3132, allocations: 128.5 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.3133, allocations: 74.98 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3134, allocations: 45.7 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3135, allocations: 338.8 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3136, allocations: 79.95 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3138, allocations: 77.92 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3141, allocations: 181.3 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3141, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003964/0.3145, allocations: 248.6 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3145, allocations: 9.25 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3145, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3146, allocations: 4 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.3149, allocations: 71.83 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3149, allocations: 0 / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3151, allocations: 23.83 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3151, allocations: 8 kB / 1.06 GB, free: 0.8164 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 (26): * Single equations (assignments): 26 * 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.0001209/0.3152, allocations: 137.8 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.3153, allocations: 23.72 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.3154, allocations: 34.17 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3154, allocations: 7.938 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3154, allocations: 3.938 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3154, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.3157, allocations: 293.4 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3157, allocations: 3.984 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3159, allocations: 35.92 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3159, allocations: 4 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.316, allocations: 12 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.316, allocations: 3.938 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.316, allocations: 4 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.3165, allocations: 372.2 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3166, allocations: 120.7 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3167, allocations: 7.938 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3169, allocations: 11.98 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3169, allocations: 7.984 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3169, allocations: 8 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000275/0.3172, allocations: 188.5 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3172, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002739/0.3175, allocations: 44 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * 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 (18): * Single equations (assignments): 18 * 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.0001206/0.3176, allocations: 107.2 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.318, allocations: 175.8 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.318, allocations: 4 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3181, allocations: 83.89 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3185, allocations: 38.12 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.3198, allocations: 0.6959 MB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3201, allocations: 0.7557 MB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.3202, allocations: 19.44 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3202, allocations: 0 / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.004853/0.325, allocations: 2.698 MB / 1.066 GB, free: 10.79 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches