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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009653, allocations: 98.27 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.007213/0.007213, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.578/2.578, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 9.875 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.001701/0.2696, allocations: 1.523 MB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.2704, allocations: 0.5728 MB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.2705, allocations: 0 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.2706, allocations: 19.86 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.2709, allocations: 67.67 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.2711, allocations: 75.91 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.2713, allocations: 255.3 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.2714, allocations: 32.22 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2716, allocations: 99.61 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2718, allocations: 115.5 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2718, allocations: 11.94 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.2718, allocations: 12 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.2719, allocations: 71.72 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.272, allocations: 109.1 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.2722, allocations: 199.5 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2723, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2723, allocations: 4 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2723, allocations: 3.938 kB / 1.062 GB, free: 1.758 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.001041/0.2733, allocations: 0.5063 MB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2734, allocations: 11.97 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.2734, allocations: 42.73 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.2735, allocations: 24.66 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.274, allocations: 278.7 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.274, allocations: 4.375 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.274, allocations: 24.36 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.2743, allocations: 139.1 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2743, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2743, allocations: 8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.2744, allocations: 12.22 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.2747, allocations: 144.5 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.2755, allocations: 0.5523 MB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.2758, allocations: 187 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.276, allocations: 68.83 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.276, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.276, allocations: 38.55 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.276, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005065/0.2765, allocations: 263.1 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2766, allocations: 55.41 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.2769, allocations: 245 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.277, allocations: 29.7 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.277, allocations: 136.5 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.2771, allocations: 66.92 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.2772, allocations: 33.7 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.2773, allocations: 334.8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2774, allocations: 83.95 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2776, allocations: 85.47 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.2779, allocations: 182.1 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2779, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003965/0.2783, allocations: 264.5 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2783, allocations: 4 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2783, allocations: 0 / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2783, allocations: 15.81 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.2786, allocations: 63.95 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2786, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2788, allocations: 19.84 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2789, allocations: 8 kB / 1.066 GB, free: 13.66 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.0001093/0.279, allocations: 141.8 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.279, allocations: 27.7 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.2791, allocations: 26.19 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2791, allocations: 7.938 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2791, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2791, allocations: 3.984 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2794, allocations: 297.3 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2794, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.2797, allocations: 43.92 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2797, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2797, allocations: 11.98 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2797, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2797, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.2802, allocations: 369.1 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2803, allocations: 128.8 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.2804, allocations: 11.92 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2806, allocations: 8 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.2806, allocations: 19.91 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2806, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002761/0.2809, allocations: 180.5 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002722/0.2812, allocations: 44 kB / 1.067 GB, free: 12.27 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.0007527/0.282, allocations: 0.9266 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.2823, allocations: 175.9 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2823, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.2825, allocations: 86.08 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.2829, allocations: 49.72 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.2863, allocations: 2.762 MB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2866, allocations: 0.7518 MB / 1.072 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2868, allocations: 57.48 kB / 1.072 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.2869, allocations: 63.42 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.2869, allocations: 3.938 kB / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/0.675, allocations: 4.396 MB / 1.076 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.6753, allocations: 212.8 kB / 1.076 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.653, allocations: 0 / 1.076 GB, free: 2.742 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > 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