Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_10_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.005554/0.005554, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001176/0.001176, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002766/0.2943, allocations: 1.805 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.2953, allocations: 0.5767 MB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.2954, allocations: 7.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.2955, allocations: 19.8 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.2959, allocations: 83.28 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2961, allocations: 75.89 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.2964, allocations: 275.3 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2965, allocations: 32.3 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2967, allocations: 111.6 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2969, allocations: 131.5 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.2969, allocations: 16 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.297, allocations: 23.94 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.2971, allocations: 71.78 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2972, allocations: 91.47 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2974, allocations: 223.2 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2974, allocations: 3.938 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2974, allocations: 0 / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2975, allocations: 0 / 1.17 GB, free: 3.762 MB / 0.92 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.001025/0.2985, allocations: 0.5528 MB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2985, allocations: 8.031 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.2986, allocations: 42.73 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.2987, allocations: 28.75 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.2991, allocations: 275 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2991, allocations: 8.375 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2992, allocations: 20.36 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.2995, allocations: 158.2 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2995, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2995, allocations: 4 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.2995, allocations: 16.22 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2998, allocations: 137.3 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.3008, allocations: 0.5483 MB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.3011, allocations: 170.5 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3012, allocations: 72.81 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3012, allocations: 4 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3013, allocations: 34.56 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/0.3013, allocations: 4 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=18): time 0.0005027/0.3018, allocations: 259.9 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3018, allocations: 51.41 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.3022, allocations: 249 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3022, allocations: 25.7 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.3023, allocations: 136.5 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.3024, allocations: 79.38 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.3025, allocations: 49.7 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3026, allocations: 338.8 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3027, allocations: 71.95 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3029, allocations: 79.95 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.3032, allocations: 182.8 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3032, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004013/0.3036, allocations: 250.3 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3037, allocations: 8 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3037, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3037, allocations: 3.938 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.304, allocations: 67.89 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.304, allocations: 4 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3042, allocations: 19.88 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3042, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 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.0001176/0.3044, allocations: 149.8 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.3044, allocations: 23.8 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.3045, allocations: 34.17 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3045, allocations: 7.875 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3045, allocations: 4 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3045, allocations: 0 / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.3048, allocations: 297.3 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3048, allocations: 3.984 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3051, allocations: 35.98 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3051, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3051, allocations: 8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3051, allocations: 3.938 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3051, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.3056, allocations: 387.7 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3058, allocations: 116.9 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.3058, allocations: 7.938 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.306, allocations: 15.98 kB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3061, allocations: 11.98 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3061, allocations: 4 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002818/0.3064, allocations: 180.5 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3064, allocations: 0 / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002856/0.3067, allocations: 59.89 kB / 1.175 GB, free: 14.21 MB / 0.9356 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.0007906/0.3075, allocations: 0.9074 MB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.3078, allocations: 175.8 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3078, allocations: 0 / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.308, allocations: 82.09 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3084, allocations: 50.39 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.3122, allocations: 2.676 MB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3125, allocations: 0.767 MB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.3127, allocations: 45.5 kB / 1.179 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3128, allocations: 67.41 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/0.3128, allocations: 4 kB / 1.179 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3361, allocations: 4.827 MB / 1.184 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.131, allocations: 3.75 kB / 1.184 GB, free: 4.602 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches