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.001302/0.001302, allocations: 106.7 kB / 15.99 MB, free: 6.355 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.001367/0.001367, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 469.4 MB / 0.7423 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 68.92 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003249/0.2982, allocations: 1.861 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2993, allocations: 0.5845 MB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2994, allocations: 3.938 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2996, allocations: 15.86 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.3, allocations: 60.44 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3002, allocations: 83.89 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.3006, allocations: 267.4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3007, allocations: 32.23 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3009, allocations: 107.6 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3012, allocations: 139.5 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.3012, allocations: 16 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.3012, allocations: 20 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3014, allocations: 75.78 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3015, allocations: 99.34 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3017, allocations: 159.9 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3017, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3017, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3017, allocations: 3.938 kB / 1.067 GB, free: 11.89 MB / 0.8419 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.001132/0.3029, allocations: 0.5257 MB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3029, allocations: 16.02 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.303, allocations: 28.59 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3034, allocations: 274.8 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3035, allocations: 12.36 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.3035, allocations: 12.38 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3038, allocations: 150.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3038, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3039, allocations: 8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.3039, allocations: 8.234 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.3042, allocations: 136.6 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.3052, allocations: 0.556 MB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3055, allocations: 178.5 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3057, allocations: 72.83 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3057, allocations: 4.25 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3057, allocations: 34.5 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.3057, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0005244/0.3063, allocations: 255.6 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3063, allocations: 59.34 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3067, allocations: 245 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3067, allocations: 29.7 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.3068, allocations: 136.5 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.3069, allocations: 71 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.307, allocations: 49.61 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3071, allocations: 338.8 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3073, allocations: 79.95 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3074, allocations: 75.94 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3077, allocations: 192.8 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3077, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004088/0.3081, allocations: 249.2 kB / 1.071 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3082, allocations: 8 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3082, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3082, allocations: 7.984 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.3085, allocations: 67.84 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.3086, allocations: 3.984 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3087, allocations: 19.84 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3088, allocations: 8 kB / 1.071 GB, free: 7.824 MB / 0.8419 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.0001213/0.3089, allocations: 137.8 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.309, allocations: 19.81 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.309, allocations: 34.17 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.309, allocations: 11.88 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3091, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3091, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.3094, allocations: 297.4 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3094, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3097, allocations: 31.98 kB / 1.071 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3097, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3097, allocations: 7.984 kB / 1.071 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3097, allocations: 7.875 kB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3097, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.3103, allocations: 375 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3104, allocations: 116.7 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.3105, allocations: 15.92 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3107, allocations: 8 kB / 1.072 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3107, allocations: 7.984 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3107, allocations: 7.984 kB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002922/0.311, allocations: 188.5 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3111, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003001/0.3114, allocations: 47.91 kB / 1.072 GB, free: 6.434 MB / 0.8419 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.0001397/0.3115, allocations: 111.2 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.3119, allocations: 193 kB / 1.072 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3119, allocations: 0 / 1.072 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3121, allocations: 87.89 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3125, allocations: 44.81 kB / 1.073 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3138, allocations: 0.6866 MB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3141, allocations: 0.7554 MB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.3142, allocations: 19.44 kB / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of SimCode: time 4.7e-07/0.3142, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of Templates: time 0.004987/0.3192, allocations: 2.708 MB / 1.077 GB, free: 1.781 MB / 0.8419 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