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: "" <> 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.001593/0.001593, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.001971, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 62.81 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2615, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002995/0.2645, allocations: 1.803 MB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.2655, allocations: 0.5767 MB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2656, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2658, allocations: 27.67 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.2661, allocations: 71.59 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2663, allocations: 91.81 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.2666, allocations: 263.4 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2668, allocations: 32.28 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.267, allocations: 111.5 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2672, allocations: 139.5 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.2672, allocations: 16 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.2673, allocations: 20 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2674, allocations: 71.75 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2675, allocations: 103.3 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.2677, allocations: 207.6 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2678, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2678, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2678, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 0.8262 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.001044/0.2688, allocations: 0.5334 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2689, allocations: 12.03 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.2689, allocations: 50.69 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.269, allocations: 24.66 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.2694, allocations: 274.8 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2695, allocations: 12.31 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2695, allocations: 12.38 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.2698, allocations: 154.4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2698, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2698, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.2698, allocations: 8.234 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2702, allocations: 144.6 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.2711, allocations: 0.5482 MB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2714, allocations: 174.5 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2715, allocations: 77.08 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2715, allocations: 3.906 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2716, allocations: 34.56 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.715e-06/0.2716, allocations: 4 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005121/0.2721, allocations: 251 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2721, allocations: 55.41 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.2725, allocations: 245 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2725, allocations: 29.7 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.2726, allocations: 136.5 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.2727, allocations: 63.02 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.2728, allocations: 57.61 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2729, allocations: 330.8 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2731, allocations: 83.89 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.2732, allocations: 82.14 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.2735, allocations: 177.6 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2735, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004147/0.274, allocations: 249.6 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.274, allocations: 11.98 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.274, allocations: 4 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.274, allocations: 3.938 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.2743, allocations: 67.91 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2744, allocations: 3.938 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.2745, allocations: 27.77 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2746, allocations: 4 kB / 1.071 GB, free: 6.836 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.0001182/0.2747, allocations: 137.8 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2747, allocations: 23.81 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.2748, allocations: 30.17 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2748, allocations: 7.938 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2748, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2748, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.2752, allocations: 305.3 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2752, allocations: 4 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2754, allocations: 31.98 kB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2754, allocations: 0 / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2755, allocations: 8 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2755, allocations: 11.92 kB / 1.071 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2755, allocations: 3.938 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.276, allocations: 364.8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2761, allocations: 116.8 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.2762, allocations: 11.94 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2764, allocations: 7.984 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2764, allocations: 19.98 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2764, allocations: 4 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002911/0.2767, allocations: 180.5 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2768, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002837/0.277, allocations: 47.91 kB / 1.072 GB, free: 5.453 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.0008095/0.2779, allocations: 0.9254 MB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2782, allocations: 195.8 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2783, allocations: 3.938 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2784, allocations: 83.89 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.2788, allocations: 40.69 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.2825, allocations: 2.676 MB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2829, allocations: 0.7632 MB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.283, allocations: 49.5 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2831, allocations: 63.42 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2831, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.3052, allocations: 4.752 MB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.685, allocations: 5.5 kB / 1.081 GB, free: 11.86 MB / 0.8419 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