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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001181/0.001181, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01028/0.01028, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8.719 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3849, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002111/0.3871, allocations: 1.508 MB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.3881, allocations: 0.5843 MB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3882, allocations: 3.938 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.3883, allocations: 15.86 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.3887, allocations: 63.69 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3889, allocations: 83.89 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3892, allocations: 255.4 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3894, allocations: 24.31 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.3895, allocations: 103.5 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.3898, allocations: 123.5 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3898, allocations: 8 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.3899, allocations: 8 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.39, allocations: 55.81 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3901, allocations: 125 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3903, allocations: 195.5 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3903, allocations: 4 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3903, allocations: 0 / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3903, allocations: 0 / 1.062 GB, free: 2.312 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.001047/0.3914, allocations: 0.5024 MB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3914, allocations: 16.02 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.3915, allocations: 24.66 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.392, allocations: 270.8 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.392, allocations: 8.375 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.392, allocations: 12.38 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.3923, allocations: 151.2 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3924, allocations: 4 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3924, allocations: 7.984 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.3924, allocations: 8.234 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.3927, allocations: 144.6 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.3937, allocations: 0.5482 MB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.394, allocations: 186.5 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3941, allocations: 72.83 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3942, allocations: 4 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3942, allocations: 34.5 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3942, allocations: 0 / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0005684/0.3948, allocations: 259.1 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3948, allocations: 63.34 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3952, allocations: 241 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3952, allocations: 33.7 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.3953, allocations: 136.5 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.3954, allocations: 67.02 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3955, allocations: 29.7 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3956, allocations: 338.8 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3958, allocations: 79.95 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3959, allocations: 84.81 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.3962, allocations: 179.8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3962, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004105/0.3967, allocations: 261.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3967, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3967, allocations: 3.938 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3967, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.397, allocations: 71.84 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3971, allocations: 7.938 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3973, allocations: 23.83 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3973, allocations: 8 kB / 1.065 GB, free: 14.26 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 (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.0001443/0.3974, allocations: 137.8 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3975, allocations: 23.72 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.3976, allocations: 30.17 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3976, allocations: 3.938 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3976, allocations: 4 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3976, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.398, allocations: 301.4 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.398, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.3982, allocations: 35.98 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3982, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3982, allocations: 11.98 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3982, allocations: 3.938 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3982, allocations: 0 / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.3988, allocations: 381.4 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.399, allocations: 124.7 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.399, allocations: 11.92 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.3992, allocations: 8 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3993, allocations: 11.98 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3993, allocations: 7.984 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002792/0.3996, allocations: 176.5 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3996, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002798/0.3999, allocations: 52 kB / 1.067 GB, free: 12.88 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.0001608/0.4, allocations: 111.2 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.4004, allocations: 180.4 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4004, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4006, allocations: 83.91 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.401, allocations: 45.89 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4024, allocations: 0.6898 MB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4027, allocations: 0.7596 MB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.4029, allocations: 53.48 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.4029, allocations: 19.44 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4029, allocations: 0 / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.005384/0.4083, allocations: 2.055 MB / 1.071 GB, free: 8.836 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches