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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.01045/0.01045, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.002112/0.002112, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.773/2.773, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.89 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2832, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002896/0.2861, allocations: 1.812 MB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2871, allocations: 0.5728 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.2873, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2874, allocations: 31.73 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2878, allocations: 67.61 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.288, allocations: 83.86 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.2883, allocations: 271.3 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2885, allocations: 36.3 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2886, allocations: 107.6 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2889, allocations: 131.5 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.2889, allocations: 24 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.289, allocations: 16 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2891, allocations: 79.73 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2892, allocations: 99.39 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.2895, allocations: 215 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2895, allocations: 4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2895, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 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.001071/0.2906, allocations: 0.545 MB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2906, allocations: 11.97 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.2907, allocations: 46.72 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.2907, allocations: 28.75 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.2912, allocations: 282.9 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2912, allocations: 8.375 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.2913, allocations: 20.31 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.2916, allocations: 146.4 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2916, allocations: 0 / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2916, allocations: 0 / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.2917, allocations: 16.22 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.292, allocations: 136.6 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.2929, allocations: 0.5483 MB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2932, allocations: 182.3 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.2934, allocations: 72.81 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.2934, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2934, allocations: 34.56 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2934, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0005317/0.294, allocations: 251.5 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.294, allocations: 55.41 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.2944, allocations: 241 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2944, allocations: 37.7 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.2945, allocations: 132.6 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.2946, allocations: 79.3 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.2947, allocations: 49.7 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2948, allocations: 330.8 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.295, allocations: 87.88 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2951, allocations: 80.77 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.2954, allocations: 180.8 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2955, allocations: 0 / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004122/0.2959, allocations: 245.4 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2959, allocations: 8 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2959, allocations: 0 / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2959, allocations: 3.938 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2963, allocations: 71.89 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2963, allocations: 0 / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2965, allocations: 27.88 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2965, allocations: 4 kB / 1.227 GB, free: 6.98 MB / 0.9825 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.0001227/0.2966, allocations: 138.3 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.2967, allocations: 23.86 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.2968, allocations: 26.19 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2968, allocations: 11.92 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2968, allocations: 3.938 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2968, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2971, allocations: 301.4 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2971, allocations: 4 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.2974, allocations: 31.97 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2974, allocations: 4 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2974, allocations: 8 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2974, allocations: 7.875 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2974, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.298, allocations: 365.6 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.2982, allocations: 132.8 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.2982, allocations: 11.94 kB / 1.228 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.2984, allocations: 7.984 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.2985, allocations: 11.98 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2985, allocations: 4 kB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003067/0.2988, allocations: 184.5 kB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2988, allocations: 0 / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.2991, allocations: 51.95 kB / 1.228 GB, free: 5.586 MB / 0.9825 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.000821/0.2999, allocations: 0.9153 MB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.3003, allocations: 179.8 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3003, allocations: 0 / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3005, allocations: 83.91 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3009, allocations: 42.11 kB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.3046, allocations: 2.685 MB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3049, allocations: 0.7515 MB / 1.233 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.305, allocations: 53.5 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3052, allocations: 67.41 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3052, allocations: 0 / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/0.3885, allocations: 4.84 MB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.576, allocations: 7.922 kB / 1.238 GB, free: 11.95 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.csv","/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