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.001056/0.001056, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001021/0.001021, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.825/2.825, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 12.28 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3846, allocations: 159.6 MB / 1.058 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002473/0.3871, allocations: 1.469 MB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3885, allocations: 0.5574 MB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.3888, allocations: 0 / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.389, allocations: 23.8 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.3896, allocations: 63.69 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3899, allocations: 67.89 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.3904, allocations: 219.4 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3906, allocations: 32.23 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.3909, allocations: 91.67 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.3912, allocations: 119.5 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.3912, allocations: 8 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.317e-05/0.3913, allocations: 8 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3914, allocations: 59.81 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.3915, allocations: 49.58 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3917, allocations: 159.9 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3918, allocations: 7.938 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3918, allocations: 0 / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3918, allocations: 0 / 1.061 GB, free: 2.469 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.001144/0.3929, allocations: 0.4984 MB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.393, allocations: 16.02 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3931, allocations: 23.72 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.3936, allocations: 269.6 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3937, allocations: 8 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.3937, allocations: 19.94 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.394, allocations: 146.9 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3941, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3941, allocations: 8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.3941, allocations: 8.234 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.3944, allocations: 144.6 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3955, allocations: 0.5521 MB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.3959, allocations: 179.7 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.396, allocations: 76.83 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.396, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3961, allocations: 34.5 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.3961, allocations: 0 / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0005731/0.3967, allocations: 259.3 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3967, allocations: 55.41 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.3971, allocations: 249 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3971, allocations: 25.7 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3973, allocations: 140.5 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3973, allocations: 71 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.3974, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3975, allocations: 338.8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3977, allocations: 79.95 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3978, allocations: 89.91 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.398, allocations: 91.91 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.398, allocations: 0 / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004207/0.3984, allocations: 254.8 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3985, allocations: 8 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3985, allocations: 3.938 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3985, allocations: 4 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3988, allocations: 67.91 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3988, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.399, allocations: 23.78 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.399, allocations: 8 kB / 1.064 GB, free: 14.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3992, allocations: 137.8 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.3992, allocations: 23.72 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.3993, allocations: 30.17 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3993, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3993, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3993, allocations: 3.938 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.3997, allocations: 305.3 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3997, allocations: 3.938 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.3999, allocations: 35.98 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.4, allocations: 15.98 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.4006, allocations: 377.5 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4007, allocations: 124.7 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.4007, allocations: 11.98 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4009, allocations: 8 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.401, allocations: 7.984 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.401, allocations: 8 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002697/0.4013, allocations: 180.5 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4013, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003023/0.4016, allocations: 48 kB / 1.066 GB, free: 13.17 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 (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.0001407/0.4017, allocations: 107.2 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.4021, allocations: 187.2 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4021, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.4023, allocations: 83.91 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4027, allocations: 41.73 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.404, allocations: 0.6702 MB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4043, allocations: 0.7596 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.4045, allocations: 49.48 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.4046, allocations: 23.44 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4046, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.005472/0.4101, allocations: 1.998 MB / 1.07 GB, free: 9.203 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